[uim-commit] r285 - trunk/scm

ekato@freedesktop.org ekato@freedesktop.org
Fri Jan 14 05:48:22 PST 2005


Author: ekato
Date: 2005-01-14 05:48:20 -0800 (Fri, 14 Jan 2005)
New Revision: 285

Modified:
   trunk/scm/skk-editor.scm
   trunk/scm/skk.scm
Log:
* scm/skk.scm (skk-commit-by-label-key) : One more fix for display
  limit with 0.
* scm/skk-editor.scm : Update copyright.


Modified: trunk/scm/skk-editor.scm
===================================================================
--- trunk/scm/skk-editor.scm	2005-01-14 13:35:51 UTC (rev 284)
+++ trunk/scm/skk-editor.scm	2005-01-14 13:48:20 UTC (rev 285)
@@ -1,5 +1,5 @@
 ;;;
-;;; Copyright (c) 2003,2004 uim Project http://uim.freedesktop.org/
+;;; Copyright (c) 2003-2005 uim Project http://uim.freedesktop.org/
 ;;;
 ;;; All rights reserved.
 ;;;

Modified: trunk/scm/skk.scm
===================================================================
--- trunk/scm/skk.scm	2005-01-14 13:35:51 UTC (rev 284)
+++ trunk/scm/skk.scm	2005-01-14 13:48:20 UTC (rev 285)
@@ -1221,7 +1221,9 @@
 		(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))))
+		(set! idx (+ (* cur-page skk-nr-candidate-max) num)))
+	    (if (= skk-nr-candidate-max 0)
+	        (set! idx num)))
 	  ;; FIXME: add code to handle labels other than number here
 	  )
       (if (and (>= idx 0)



More information about the Uim-commit mailing list