[uim-commit] r286 - trunk/scm
ekato@freedesktop.org
ekato@freedesktop.org
Fri Jan 14 06:03:39 PST 2005
Author: ekato
Date: 2005-01-14 06:03:36 -0800 (Fri, 14 Jan 2005)
New Revision: 286
Modified:
trunk/scm/skk.scm
Log:
* scm/skk.scm (skk-commit-by-label-key) : Cosmetic change.
Modified: trunk/scm/skk.scm
===================================================================
--- trunk/scm/skk.scm 2005-01-14 13:48:20 UTC (rev 285)
+++ trunk/scm/skk.scm 2005-01-14 14:03:36 UTC (rev 286)
@@ -1220,10 +1220,9 @@
(if (= num 0)
(set! num 9) ; pressing key_0
(set! num (- num 1)))
- (if (< num skk-nr-candidate-max)
- (set! idx (+ (* cur-page skk-nr-candidate-max) num)))
- (if (= skk-nr-candidate-max 0)
- (set! idx num)))
+ (if (or (< num skk-nr-candidate-max)
+ (= skk-nr-candidate-max 0))
+ (set! idx (+ (* cur-page skk-nr-candidate-max) num))))
;; FIXME: add code to handle labels other than number here
)
(if (and (>= idx 0)
More information about the Uim-commit
mailing list