diff options
Diffstat (limited to 'vietnamese/x-unikey/files/patch-src_ukengine_mactab.cpp')
-rw-r--r-- | vietnamese/x-unikey/files/patch-src_ukengine_mactab.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/vietnamese/x-unikey/files/patch-src_ukengine_mactab.cpp b/vietnamese/x-unikey/files/patch-src_ukengine_mactab.cpp new file mode 100644 index 000000000000..48c19fd0cfdc --- /dev/null +++ b/vietnamese/x-unikey/files/patch-src_ukengine_mactab.cpp @@ -0,0 +1,11 @@ +--- src/ukengine/mactab.cpp.orig 2006-04-09 11:46:02 UTC ++++ src/ukengine/mactab.cpp +@@ -287,7 +287,7 @@ int CMacroTable::addItem(const char *ite + char key[MAX_MACRO_KEY_LEN]; + + // Parse the input item +- char * pos = strchr(item, ':'); ++ const char * pos = strchr(item, ':'); + if (pos == NULL) + return -1; + int keyLen = (int)(pos - item); |