X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=src%2Finput-method-xlib.c;h=c522ff20a0040b5bd7959b9634e485923b4ae958;hb=2cbece6401b2279497293e6dc54cda607f49db2f;hp=044e4093ea500e83cc860b273e9f7ec7b28c1364;hpb=716cfba952c1dc0d2cf5c968971f3780ba728a89;p=chise%2Fxemacs-chise.git- diff --git a/src/input-method-xlib.c b/src/input-method-xlib.c index 044e409..c522ff2 100644 --- a/src/input-method-xlib.c +++ b/src/input-method-xlib.c @@ -333,7 +333,6 @@ XIM_init_frame (struct frame *f) if (!xim) { - xim_info ("X Input Method open failed. Waiting for an XIM to be enabled.\n"); return; } @@ -609,9 +608,9 @@ EmacsXtCvtStringToXIMStyles ( #define STYLE_INFO(style) { style, #style, sizeof(#style) } static struct XIMStyleInfo { - CONST XIMStyle style; - CONST char * CONST name; - CONST int namelen; + const XIMStyle style; + const char * const name; + const int namelen; } emacs_XIMStyleInfo[] = { STYLE_INFO (XIMPreeditPosition|XIMStatusArea), STYLE_INFO (XIMPreeditPosition|XIMStatusNothing), @@ -627,9 +626,9 @@ EmacsXtCvtStringToXIMStyles ( char *s = (char *) fromVal->addr; char *end = s + fromVal->size; - XIMStyles * CONST p = (XIMStyles *) toVal->addr; - CONST char * CONST delimiter = " \t\n\r:;," ; - CONST int max_styles = XtNumber(emacs_XIMStyleInfo); + XIMStyles * const p = (XIMStyles *) toVal->addr; + const char * const delimiter = " \t\n\r:;," ; + const int max_styles = XtNumber(emacs_XIMStyleInfo); int i; char *c;