Commit 8c875f8d authored by Alexandre Julliard's avatar Alexandre Julliard

Load classes.dat too.

parent fdd66643
...@@ -1490,6 +1490,10 @@ static void _load_windows_registry( HKEY hkey_users_default ) ...@@ -1490,6 +1490,10 @@ static void _load_windows_registry( HKEY hkey_users_default )
strcat(path,"\\system.dat"); strcat(path,"\\system.dat");
_convert_and_load_native_registry(path,HKEY_LOCAL_MACHINE,REG_WIN95,0); _convert_and_load_native_registry(path,HKEY_LOCAL_MACHINE,REG_WIN95,0);
strcpy(path,windir);
strcat(path,"\\classes.dat");
_convert_and_load_native_registry(path,HKEY_CLASSES_ROOT,REG_WIN95,0);
if (PROFILE_GetWineIniString("Wine","Profile","",path,MAX_PATHNAME_LEN)) { if (PROFILE_GetWineIniString("Wine","Profile","",path,MAX_PATHNAME_LEN)) {
/* user specific user.dat */ /* user specific user.dat */
strncat(path, "\\user.dat", MAX_PATHNAME_LEN - strlen(path) - 1); strncat(path, "\\user.dat", MAX_PATHNAME_LEN - strlen(path) - 1);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment