summaryrefslogtreecommitdiff
path: root/source4/gtk/tools/gregedit.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2004-09-22 18:35:14 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:59:02 -0500
commitd472d2e1074ded091c1ec1f07444206646e1f156 (patch)
tree3c3522a7621997cb328bdb33bd6f059b1ce8a641 /source4/gtk/tools/gregedit.c
parent32561fa70c3ab486ca252b10c2d059ba18341e59 (diff)
downloadsamba-d472d2e1074ded091c1ec1f07444206646e1f156.tar.gz
samba-d472d2e1074ded091c1ec1f07444206646e1f156.tar.bz2
samba-d472d2e1074ded091c1ec1f07444206646e1f156.zip
r2531: Fix crashbug
(This used to be commit 80294f799f83fb98a5e5f1099fdfa95d9ddaac7b)
Diffstat (limited to 'source4/gtk/tools/gregedit.c')
-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);