2010-02-11 Pierre Humblet <Pierre.Humblet@ieee.org>

* registry.c (get_registry_hive_path): Add space in string.
This commit is contained in:
Pierre Humblet 2010-02-12 01:04:52 +00:00
parent 44caccfca2
commit 848dbc8f98
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2010-02-11 Pierre Humblet <Pierre.Humblet@ieee.org>
* registry.c (get_registry_hive_path): Add space in string.
2010-02-11 Corinna Vinschen <corinna@vinschen.de>
* regex/engine.c (step): Drop Cygwin-specific definition.

View File

@ -266,7 +266,7 @@ get_registry_hive_path (const PWCHAR name, PWCHAR path)
if (!name || !path)
return NULL;
kend = wcpcpy (key, L"SOFTWARE\\Microsoft\\WindowsNT\\CurrentVersion\\ProfileList\\");
kend = wcpcpy (key, L"SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\ProfileList\\");
wcpcpy (kend, name);
if (!RegOpenKeyExW (HKEY_LOCAL_MACHINE, key, 0, KEY_READ, &hkey))
{