r2531: Fix crashbug
authorJelmer Vernooij <jelmer@samba.org>
Wed, 22 Sep 2004 18:35:14 +0000 (18:35 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:59:02 +0000 (12:59 -0500)
(This used to be commit 80294f799f83fb98a5e5f1099fdfa95d9ddaac7b)

source4/gtk/tools/gregedit.c

index 8938e634fa5d47aca29d06e46a96250b27f1dd4d..bdaf8ec4f02791506781db72c55042e5e353b5da 100644 (file)
@@ -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);