diff --git a/scim-wnn/src/wnnconversion.cpp b/scim-wnn/src/wnnconversion.cpp index 6b43fc2..2f8d959 100644 --- a/scim-wnn/src/wnnconversion.cpp +++ b/scim-wnn/src/wnnconversion.cpp @@ -140,6 +140,7 @@ #ifdef HAVE_LIBWNN7 jl_yosoku_free(wnn); #endif + jl_dic_save_all(); jl_close(wnn); wnn = NULL; } diff --git a/scim-wnn/src/wnnproto.h b/scim-wnn/src/wnnproto.h index c6efaa7..d5942b9 100644 --- a/scim-wnn/src/wnnproto.h +++ b/scim-wnn/src/wnnproto.h @@ -75,6 +75,7 @@ extern int jl_yosoku_ikkatsu_toroku_init(struct wnn_buf *); extern int jl_yosoku_ikkatsu_toroku_end(struct wnn_buf *); extern int jl_yosoku_toroku(struct wnn_buf *,w_char *,short); + extern int jl_dic_save_all(); #else int wnn_get_area(struct wnn_buf*,int,int,w_char*,int);