Mercurial > hg > xemacs-beta
diff src/input-method-motif.c @ 412:697ef44129c6 r21-2-14
Import from CVS: tag r21-2-14
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:20:41 +0200 |
parents | 74fd4e045ea6 |
children |
line wrap: on
line diff
--- a/src/input-method-motif.c Mon Aug 13 11:19:22 2007 +0200 +++ b/src/input-method-motif.c Mon Aug 13 11:20:41 2007 +0200 @@ -41,7 +41,7 @@ { char *locale; - /* dverna - Nov. 98: #### DON'T DO THIS !!! The default XtLanguageProc + /* dverna - Nov. 98: ### DON'T DO THIS !!! The default XtLanguageProc routine calls setlocale(LC_ALL, lang) which fucks up our lower-level locale management, and especially the value of LC_NUMERIC. Anyway, since at this point, we don't know yet whether we're gonna need an X11 frame, @@ -115,10 +115,9 @@ default face, rather than foreground and background resources, or that the user can use set-frame-parameters to set xic attributes */ -#define res(name, class, representation, field, default_value) \ - { name, class, representation, sizeof(xim_resources.field), \ - XtOffsetOf(xim_resources_t, field), \ - XtRString, (XtPointer) (default_value) } +#define res(name, class, representation, field, default_value) \ + { name, class, representation, sizeof(xim_resources.field), \ + XtOffsetOf(xim_resources_t, field), XtRString, default_value } static XtResource resources[] = { @@ -162,7 +161,7 @@ void XIM_SetSpotLocation (struct frame *f, int x, int y) { - /* #### FIX: Must make sure spot fits within Preedit Area */ + /* ### FIX: Must make sure spot fits within Preedit Area */ XPoint *spot = &(FRAME_X_XIC_SPOT (f)); if (spot->x == (short) x && spot->y == (short) y)