imm32: Remove stray semicolon. Don't try to load an invalid file.
This commit is contained in:
parent
ab86a4e963
commit
01d167be7c
|
@ -139,8 +139,7 @@ static ImmHkl *IMM_GetImmHkl(HKL hkl)
|
|||
ptr = HeapAlloc(GetProcessHeap(),HEAP_ZERO_MEMORY,sizeof(ImmHkl));
|
||||
|
||||
ptr->hkl = hkl;
|
||||
ImmGetIMEFileNameW(hkl, filename, MAX_PATH);
|
||||
ptr->hIME = LoadLibraryW(filename);
|
||||
if (ImmGetIMEFileNameW(hkl, filename, MAX_PATH)) ptr->hIME = LoadLibraryW(filename);
|
||||
if (ptr->hIME)
|
||||
{
|
||||
LOAD_FUNCPTR(ImeInquire);
|
||||
|
@ -179,7 +178,7 @@ static void IMM_FreeAllImmHkl(void)
|
|||
{
|
||||
ImmHkl *ptr,*cursor2;
|
||||
|
||||
LIST_FOR_EACH_ENTRY_SAFE(ptr, cursor2, &ImmHklList, ImmHkl, entry);
|
||||
LIST_FOR_EACH_ENTRY_SAFE(ptr, cursor2, &ImmHklList, ImmHkl, entry)
|
||||
{
|
||||
list_remove(&ptr->entry);
|
||||
if (ptr->hIME)
|
||||
|
|
Loading…
Reference in New Issue