[uim-commit] r840 - trunk/fep
yamamoto at freedesktop.org
yamamoto at freedesktop.org
Sat May 14 23:15:54 PDT 2005
Author: yamamoto
Date: 2005-05-14 23:15:51 -0700 (Sat, 14 May 2005)
New Revision: 840
Modified:
trunk/fep/callbacks.c
Log:
?\227?\131?\144?\227?\130?\176?\228?\191?\174?\230?\173?\163
Modified: trunk/fep/callbacks.c
===================================================================
--- trunk/fep/callbacks.c 2005-05-15 05:22:21 UTC (rev 839)
+++ trunk/fep/callbacks.c 2005-05-15 06:15:51 UTC (rev 840)
@@ -755,7 +755,11 @@
}
s_index_str[i] = '\0';
sprintf(s_index_str, "%s%d", s_index_str, s_candidate.index + 1);
- index_width = strlen("[/]") + numwidth(s_candidate.index + 1) + numwidth(s_candidate.nr);
+ if (g_opt.ddskk) {
+ index_width = strlen("[xxxx ]") + numwidth(s_candidate.nr - s_candidate.index - 1);
+ } else {
+ index_width = strlen("[/]") + numwidth(s_candidate.index + 1) + numwidth(s_candidate.nr);
+ }
}
More information about the Uim-commit
mailing list