[uim-commit] r824 - trunk/xim

ekato at freedesktop.org ekato at freedesktop.org
Tue Apr 19 22:15:56 PDT 2005


Author: ekato
Date: 2005-04-19 22:15:53 -0700 (Tue, 19 Apr 2005)
New Revision: 824

Modified:
   trunk/xim/ximserver.cpp
Log:
* xim/ximserver.cpp (InputContext::candidate_activate) : Bug fix
  for candidates with the size of multiples of ten.


Modified: trunk/xim/ximserver.cpp
===================================================================
--- trunk/xim/ximserver.cpp	2005-04-12 11:28:14 UTC (rev 823)
+++ trunk/xim/ximserver.cpp	2005-04-20 05:15:53 UTC (rev 824)
@@ -719,7 +719,7 @@
     active_candidates = candidates;
     mDisplayLimit = display_limit;
     if (display_limit)
-	mNumPage = nr / display_limit + 1;
+	mNumPage = (nr - 1) / display_limit + 1;
 }
 
 void InputContext::candidate_update()



More information about the Uim-commit mailing list