[MSCTF] Sync with Wine Staging 1.7.55. CORE-10536
[reactos.git] / reactos / dll / win32 / msctf / categorymgr.c
index 8d72413..509494f 100644 (file)
@@ -154,9 +154,9 @@ static HRESULT WINAPI CategoryMgr_UnregisterCategory ( ITfCategoryMgr *iface,
     sprintfW(fullkey,fmt2,ctg,ctg,buf,buf2);
 
     sprintfW(fullkey,fmt2,ctg,itm,buf2,buf);
-    SHDeleteKeyW(tipkey, fullkey);
+    RegDeleteTreeW(tipkey, fullkey);
     sprintfW(fullkey,fmt2,ctg,itm,buf2,buf);
-    SHDeleteKeyW(tipkey, fullkey);
+    RegDeleteTreeW(tipkey, fullkey);
 
     RegCloseKey(tipkey);
     return S_OK;