[uim-commit] r365 - trunk/uim

ekato@freedesktop.org ekato@freedesktop.org
Wed Jan 26 20:17:35 PST 2005


Author: ekato
Date: 2005-01-26 20:17:32 -0800 (Wed, 26 Jan 2005)
New Revision: 365

Modified:
   trunk/uim/skk-dic.c
Log:
* uim/skk-dic.c (reorder_candidate) : Revise r364.  Set the flag
  only when sequence of the candidates has changed.


Modified: trunk/uim/skk-dic.c
===================================================================
--- trunk/uim/skk-dic.c	2005-01-27 03:29:28 UTC (rev 364)
+++ trunk/uim/skk-dic.c	2005-01-27 04:17:32 UTC (rev 365)
@@ -1380,12 +1380,12 @@
       ca->cands[i] = ca->cands[i - 1];
     }
     ca->cands[0] = tmp;
+    skk_dic->cache_modified = 1;
   }
   /**/
   if (nth >= ca->nr_real_cands) {
     ca->nr_real_cands ++;
   }
-  skk_dic->cache_modified = 1;
 }
 
 static void



More information about the Uim-commit mailing list