OSDN Git Service
(root)
/
ckw
/
ckw.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add Pratform x64 and Fix Console-bug(thanks to rururu)
[ckw/ckw.git]
/
ime_wrap.cpp
diff --git
a/ime_wrap.cpp
b/ime_wrap.cpp
index
a3659ed
..
84a9e27
100644
(file)
--- a/
ime_wrap.cpp
+++ b/
ime_wrap.cpp
@@
-94,8
+94,17
@@
BOOL ime_wrap_init()
fn_SetCompositionFontW = NULL;
fn_SetCompositionWindow = NULL;
FreeLibrary(gDll);
+ gDll = NULL;
}
return(result);
}
+void ime_wrap_term()
+{
+ if (gDll) {
+ FreeLibrary(gDll);
+ gDll = NULL;
+ }
+}
+
/* EOF */