[uim-commit] r643 - trunk/uim

tkng at freedesktop.org tkng at freedesktop.org
Sun Feb 13 22:02:23 PST 2005


Author: tkng
Date: 2005-02-13 22:02:20 -0800 (Sun, 13 Feb 2005)
New Revision: 643

Modified:
   trunk/uim/m17nlib.c
Log:
* uim/m17nlib.c:
 -(compose_modep): Fixed a condition of compose mode. If candidate_from
   is bigger than candidate_to, not compose mode.


Modified: trunk/uim/m17nlib.c
===================================================================
--- trunk/uim/m17nlib.c	2005-02-14 04:05:35 UTC (rev 642)
+++ trunk/uim/m17nlib.c	2005-02-14 06:02:20 UTC (rev 643)
@@ -271,7 +271,8 @@
   if(!ic) {
     return uim_scm_f();
   }
-  if(ic->candidate_from == ic->candidate_to) {
+  if(ic->candidate_from == ic->candidate_to ||
+     ic->candidate_from > ic->candidate_to) {
     return uim_scm_f();
   } else {
     return uim_scm_t();



More information about the Uim-commit mailing list