X-Git-Url: https://git.reactos.org/?p=reactos.git;a=blobdiff_plain;f=reactos%2Fdll%2Fwin32%2Fmsctf%2Fcategorymgr.c;h=509494fd0ed67a13b2a428fee4eef431ee5e3785;hp=8d7241377be4cbfd5e8f85d2243a584fc9a07806;hb=17fcbdc088e32f34211a3a0c55cf17c410da3683;hpb=f456b9710b3732f0366884151b1dcbb0b2f7635e diff --git a/reactos/dll/win32/msctf/categorymgr.c b/reactos/dll/win32/msctf/categorymgr.c index 8d7241377be..509494fd0ed 100644 --- a/reactos/dll/win32/msctf/categorymgr.c +++ b/reactos/dll/win32/msctf/categorymgr.c @@ -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;