summaryrefslogtreecommitdiff
path: root/test/hangul.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/hangul.c')
-rw-r--r--test/hangul.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/hangul.c b/test/hangul.c
index 7f829a3..cbaf38f 100644
--- a/test/hangul.c
+++ b/test/hangul.c
@@ -67,6 +67,8 @@ main(int argc, char *argv[])
keyboard = argv[1];
}
+ hangul_init();
+
hic = hangul_ic_new(keyboard);
if (hic == NULL) {
printf("hic is null\n");
@@ -93,5 +95,7 @@ main(int argc, char *argv[])
hangul_ic_delete(hic);
+ hangul_fini();
+
return 0;
}