changeset 35592:52b5b50a0604

(xic_style): New variable. (create_frame_xic): Move static variable to global scope for the case that `static' get's defined away.
author Gerd Moellmann <gerd@gnu.org>
date Fri, 26 Jan 2001 09:34:55 +0000
parents 92a64125d228
children 03b85b9c98a8
files src/xfns.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/xfns.c	Fri Jan 26 09:32:03 2001 +0000
+++ b/src/xfns.c	Fri Jan 26 09:34:55 2001 +0000
@@ -3272,6 +3272,8 @@
 
 /* Create XIC for frame F. */
 
+static XIMStyle xic_style;
+
 void
 create_frame_xic (f)
      struct frame *f;
@@ -3279,7 +3281,6 @@
   XIM xim;
   XIC xic = NULL;
   XFontSet xfs = NULL;
-  static XIMStyle xic_style;
 
   if (FRAME_XIC (f))
     return;