From: Gerd Moellmann Date: Fri, 26 Jan 2001 09:34:55 +0000 (+0000) Subject: (xic_style): New variable. X-Git-Tag: emacs-pretest-21.0.96~57 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=5df79d3d884e7e2aae648765c8831a05cc902553;p=emacs.git (xic_style): New variable. (create_frame_xic): Move static variable to global scope for the case that `static' get's defined away. --- diff --git a/src/xfns.c b/src/xfns.c index 29d131b0c53..cdc2bb590e2 100644 --- a/src/xfns.c +++ b/src/xfns.c @@ -3272,6 +3272,8 @@ best_xim_style (user, xim) /* Create XIC for frame F. */ +static XIMStyle xic_style; + void create_frame_xic (f) struct frame *f; @@ -3279,7 +3281,6 @@ create_frame_xic (f) XIM xim; XIC xic = NULL; XFontSet xfs = NULL; - static XIMStyle xic_style; if (FRAME_XIC (f)) return;