Jacek Caban : ole32: Use absolute key path in create_classes_root_hkey.

Alexandre Julliard julliard at wine.codeweavers.com
Tue Nov 17 09:57:49 CST 2015


Module: wine
Branch: master
Commit: a1cc980bcba27e2d9b88eff312de1220d83f34b7
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=a1cc980bcba27e2d9b88eff312de1220d83f34b7

Author: Jacek Caban <jacek at codeweavers.com>
Date:   Tue Nov 17 15:25:52 2015 +0100

ole32: Use absolute key path in create_classes_root_hkey.

Signed-off-by: Jacek Caban <jacek at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/ole32/compobj.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/dlls/ole32/compobj.c b/dlls/ole32/compobj.c
index 522f66b..2f55076 100644
--- a/dlls/ole32/compobj.c
+++ b/dlls/ole32/compobj.c
@@ -331,7 +331,8 @@ static NTSTATUS create_key( HKEY *retkey, ACCESS_MASK access, OBJECT_ATTRIBUTES
 }
 
 static const WCHAR classes_rootW[] =
-    {'M','a','c','h','i','n','e','\\','S','o','f','t','w','a','r','e','\\','C','l','a','s','s','e','s',0};
+    {'\\','R','e','g','i','s','t','r','y','\\','M','a','c','h','i','n','e',
+     '\\','S','o','f','t','w','a','r','e','\\','C','l','a','s','s','e','s',0};
 
 static HKEY classes_root_hkey;
 




More information about the wine-cvs mailing list