[uim-commit] r234 - trunk/uim
tkng@freedesktop.org
tkng@freedesktop.org
Mon Jan 10 15:07:52 PST 2005
Author: tkng
Date: 2005-01-10 15:07:48 -0800 (Mon, 10 Jan 2005)
New Revision: 234
Modified:
trunk/uim/uim-func.c
Log:
* uim/uim-func.c:
(im_clear_mode_list): Reverted the change in revision 226.
Modified: trunk/uim/uim-func.c
===================================================================
--- trunk/uim/uim-func.c 2005-01-10 22:41:44 UTC (rev 233)
+++ trunk/uim/uim-func.c 2005-01-10 23:07:48 UTC (rev 234)
@@ -524,11 +524,10 @@
return uim_scm_f();
for (i = 0; i < uc->nr_modes; i++) {
- if (!uc->modes[i])
- break;
-
- free(uc->modes[i]);
- uc->modes[i] = NULL;
+ if (uc->modes[i]) {
+ free(uc->modes[i]);
+ uc->modes[i] = NULL;
+ }
}
if (uc->modes) {
free(uc->modes);
More information about the Uim-commit
mailing list