summaryrefslogtreecommitdiff
path: root/source4/gtk/tools/gregedit.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2004-12-11 17:12:16 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:07:19 -0500
commit6cf13f4d72beee3df0432d0898c5981ce8bced43 (patch)
treed30d85a303fcd29904b125bdc09df62fdffe631b /source4/gtk/tools/gregedit.c
parentadbdb055ee08b0aede06ecec34157ecf4f22c9de (diff)
downloadsamba-6cf13f4d72beee3df0432d0898c5981ce8bced43.tar.gz
samba-6cf13f4d72beee3df0432d0898c5981ce8bced43.tar.bz2
samba-6cf13f4d72beee3df0432d0898c5981ce8bced43.zip
r4154: Add definitions for HKEY_PERFORMANCE_TEXT and HKEY_PERFORMANCE_NLSTEXT
Hives and predefined keys (HKEY_*) are not necessarily the same thing. (This used to be commit 217e4e5841cfedb2b18dce3f89dd88ea4a36fe8f)
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 6301910a48..7aed4101e5 100644
--- a/source4/gtk/tools/gregedit.c
+++ b/source4/gtk/tools/gregedit.c
@@ -313,7 +313,7 @@ static void registry_load_root(void)
gtk_tree_store_clear(store_keys);
- for(i = HKEY_CLASSES_ROOT; i <= HKEY_PN; i++)
+ for(i = HKEY_CLASSES_ROOT; i <= HKEY_PERFORMANCE_NLSTEXT; i++)
{
if (!W_ERROR_IS_OK(reg_get_hive(registry, i, &root))) { continue; }