projects
/
m17n
/
m17n-lib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b1e72c4
)
(m17n_fini_win): Set null_interface.handle to NULL;
author
handa
<handa>
Tue, 11 Jul 2006 02:24:03 +0000
(
02:24
+0000)
committer
handa
<handa>
Tue, 11 Jul 2006 02:24:03 +0000
(
02:24
+0000)
src/m17n-gui.c
patch
|
blob
|
history
diff --git
a/src/m17n-gui.c
b/src/m17n-gui.c
index
d13d248
..
44c204c
100644
(file)
--- a/
src/m17n-gui.c
+++ b/
src/m17n-gui.c
@@
-88,7
+88,7
@@
typedef struct
{
/** Name of the dynamic library (e.g. "libm17n-X.so"). */
char *library;
- /** Handle fo the dynamic library. */
+ /** Handle of the dynamic library. */
void *handle;
/** Function to call just after loading the library. */
int (*init) ();
@@
-321,7
+321,10
@@
m17n_fini_win (void)
}
#ifdef HAVE_FREETYPE
if (null_interface.handle)
- (*null_interface.fini) ();
+ {
+ (*null_interface.fini) ();
+ null_interface.handle = NULL;
+ }
#endif /* not HAVE_FREETYPE */
M17N_OBJECT_UNREF (device_library_list);
minput__win_fini ();