summaryrefslogtreecommitdiff
path: root/japanese/jmode/files/patch-src_kkconv.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'japanese/jmode/files/patch-src_kkconv.cpp')
-rw-r--r--japanese/jmode/files/patch-src_kkconv.cpp37
1 files changed, 0 insertions, 37 deletions
diff --git a/japanese/jmode/files/patch-src_kkconv.cpp b/japanese/jmode/files/patch-src_kkconv.cpp
deleted file mode 100644
index 01dbdd1ef626..000000000000
--- a/japanese/jmode/files/patch-src_kkconv.cpp
+++ /dev/null
@@ -1,37 +0,0 @@
---- src/kkconv.cpp.orig 2002-06-15 14:05:09 UTC
-+++ src/kkconv.cpp
-@@ -18,10 +18,12 @@
- # include <alloca.h>
- # endif
- #endif
-+#include <stdlib.h>
-+#include <string.h>
-
- // キャラクタコード32から、
- //このソースはEUCで書かれている。
--static char *ascii_wide_tab[]={
-+static const char *ascii_wide_tab[]={
- 0,"!","”","#","$","%","&","’",
- "(",")","*","+",",","−",".","/",
- "0","1","2","3","4","5","6","7",
-@@ -325,9 +327,9 @@ KKContext *createKKContext(XimIC *ic)
- return c;
- }
-
--char **getKKIcon()
-+const char **getKKIcon()
- {
-- char **c;
-+ const char **c;
- c = NULL;
- if (current_conv) {
- c = current_conv->getIcon ();
-@@ -338,7 +340,7 @@ char **getKKIcon()
- // tool barの仮名漢字変換のボタンが押された。
- void onPushIcon()
- {
-- char **c=0;
-+ const char **c=0;
- if (current_conv) {
- c = current_conv->getIcon ();
- if (c) {