projects
/
platform
/
upstream
/
ibus-libpinyin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fc845a6
)
fixes strlen.
author
Peng Wu
<alexepico@gmail.com>
Wed, 23 Jun 2010 07:31:58 +0000
(15:31 +0800)
committer
Peng Wu
<alexepico@gmail.com>
Wed, 23 Jun 2010 07:31:58 +0000
(15:31 +0800)
src/ExtEditor.cc
patch
|
blob
|
history
diff --git
a/src/ExtEditor.cc
b/src/ExtEditor.cc
index
36e6cea
..
972d9bc
100644
(file)
--- a/
src/ExtEditor.cc
+++ b/
src/ExtEditor.cc
@@
-541,7
+541,7
@@
ExtEditor::updateStateFromInput (void)
if ( command->help ){
int space_len = std::max ( 0, m_aux_text_len
- - (int)
strlen (command->help
)
+ - (int)
g_utf8_strlen (command->help, -1
)
- 2 /* length of "[...]" */);
m_auxiliary_text.append(space_len, ' ');