1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
--- 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,"��","��","��","��","��","��","��",
"��","��","��","��","��","��","��","��",
"��","��","��","��","��","��","��","��",
@@ -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) {
|