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:
209d06b
)
add const modifier.
author
Peng Wu
<alexepico@gmail.com>
Fri, 7 May 2010 04:53:36 +0000
(12:53 +0800)
committer
Peng Wu
<alexepico@gmail.com>
Wed, 19 May 2010 02:09:33 +0000
(10:09 +0800)
src/ExtEditor.cc
patch
|
blob
|
history
diff --git
a/src/ExtEditor.cc
b/src/ExtEditor.cc
index
05f7932
..
b1a4b21
100644
(file)
--- a/
src/ExtEditor.cc
+++ b/
src/ExtEditor.cc
@@
-150,7
+150,7
@@
ExtEditor::fillCommandCandidates(std::string prefix)
bool
ExtEditor::fillCommand(std::string command_name, const char * argument){
- lua_command_t * command = ibus_engine_plugin_lookup_command(m_lua_plugin, command_name.c_str());
+
const
lua_command_t * command = ibus_engine_plugin_lookup_command(m_lua_plugin, command_name.c_str());
if ( NULL == command )
return false;