aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGerd Moellmann2001-01-26 09:34:55 +0000
committerGerd Moellmann2001-01-26 09:34:55 +0000
commit5df79d3d884e7e2aae648765c8831a05cc902553 (patch)
tree427b68182de9988a699301302016ce5acc874168 /src
parent995d76897c1500d3dc9fe103394678fee7334c6b (diff)
downloademacs-5df79d3d884e7e2aae648765c8831a05cc902553.tar.gz
emacs-5df79d3d884e7e2aae648765c8831a05cc902553.zip
(xic_style): New variable.
(create_frame_xic): Move static variable to global scope for the case that `static' get's defined away.
Diffstat (limited to 'src')
-rw-r--r--src/xfns.c3
1 files changed, 2 insertions, 1 deletions
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)
3272 3272
3273/* Create XIC for frame F. */ 3273/* Create XIC for frame F. */
3274 3274
3275static XIMStyle xic_style;
3276
3275void 3277void
3276create_frame_xic (f) 3278create_frame_xic (f)
3277 struct frame *f; 3279 struct frame *f;
@@ -3279,7 +3281,6 @@ create_frame_xic (f)
3279 XIM xim; 3281 XIM xim;
3280 XIC xic = NULL; 3282 XIC xic = NULL;
3281 XFontSet xfs = NULL; 3283 XFontSet xfs = NULL;
3282 static XIMStyle xic_style;
3283 3284
3284 if (FRAME_XIC (f)) 3285 if (FRAME_XIC (f))
3285 return; 3286 return;