[uim-commit] r1907 - branches/0.4/uim
ekato at freedesktop.org
ekato at freedesktop.org
Mon Oct 31 05:58:00 PST 2005
Author: ekato
Date: 2005-10-31 05:57:55 -0800 (Mon, 31 Oct 2005)
New Revision: 1907
Modified:
branches/0.4/uim/skk.c
Log:
* uim/skk.c (make_comp_array_from_cache) : Port r1906 from trunk.
Modified: branches/0.4/uim/skk.c
===================================================================
--- branches/0.4/uim/skk.c 2005-10-31 13:56:34 UTC (rev 1906)
+++ branches/0.4/uim/skk.c 2005-10-31 13:57:55 UTC (rev 1907)
@@ -1618,7 +1618,9 @@
if (/* string 's' is part of sl->head */
!strncmp(sl->head, s, strlen(s)) && strcmp(sl->head, s) &&
/* and sl is okuri-nasi line */
- (sl->okuri_head == '\0')) {
+ sl->okuri_head == '\0' &&
+ /* use commited entry only */
+ sl->need_save == 1) {
ca->nr_comps++;
ca->comps = realloc(ca->comps, sizeof(char *) * ca->nr_comps);
ca->comps[ca->nr_comps - 1] = strdup(sl->head);
More information about the uim-commit
mailing list