summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
Diffstat (limited to 'source4')
-rw-r--r--source4/gtk/tools/gregedit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/gtk/tools/gregedit.c b/source4/gtk/tools/gregedit.c
index 8938e634fa..bdaf8ec4f0 100644
--- a/source4/gtk/tools/gregedit.c
+++ b/source4/gtk/tools/gregedit.c
@@ -101,7 +101,7 @@ static void registry_load_root()
gtk_tree_store_set (store_keys,
&iter,
0,
- root->hive->name,
+ root->hive->name?root->hive->name:"",
1,
root,
-1);