Revision: 6644
Author: deton.kih
Date: Fri Jul 30 16:32:08 2010
Log: * scm/tutcode.scm
  - (tutcode-key-press-handler):
    Fix to update preedit on cancel of recursive learning
    whose mode is tutcode-state-off.

http://code.google.com/p/uim/source/detail?r=6644

Modified:
 /trunk/scm/tutcode.scm

=======================================
--- /trunk/scm/tutcode.scm      Fri Jul 30 15:56:01 2010
+++ /trunk/scm/tutcode.scm      Fri Jul 30 16:32:08 2010
@@ -1839,7 +1839,7 @@
            (tutcode-update-preedit pc))
           (else
            (tutcode-proc-state-off pc key key-state)
-           (if (not (null? (tutcode-context-child-context c)))
+           (if (tutcode-state-has-preedit? c) ; ºÆµ¢³Ø½¬»þ
              (tutcode-update-preedit pc)))))))

 ;;; ¥­¡¼¤¬Î¥¤µ¤ì¤¿¤È¤­¤Î½èÍý¤ò¹Ô¤¦¡£

Reply via email to