[uim-commit] r1121 - trunk/uim

yamamoto at freedesktop.org yamamoto at freedesktop.org
Fri Aug 5 19:40:19 EST 2005


Author: yamamoto
Date: 2005-08-05 02:40:14 -0700 (Fri, 05 Aug 2005)
New Revision: 1121

Modified:
   trunk/uim/canna.c
Log:
 * canna.c (create_context) :
   return valid context when RkGetDicList returns 0 to use imeproxy as cannaserver


Modified: trunk/uim/canna.c
===================================================================
--- trunk/uim/canna.c	2005-08-03 16:39:35 UTC (rev 1120)
+++ trunk/uim/canna.c	2005-08-05 09:40:14 UTC (rev 1121)
@@ -156,7 +156,7 @@
 	dic_num = RkGetDicList(cc->rk_context_id,
 				   cc->diclist, BUFSIZE);
 	if (dic_num == 0) {
-	    return uim_scm_f();
+	    return uim_scm_make_int(i);
 	} else if (dic_num == -1) {
 	    /* invalid context number */
 	    return uim_scm_f();



More information about the uim-commit mailing list