changeset 27659:4137c807296b

(create_frame_xic): Fix initialization of automatic aggregates for pcc.
author Dave Love <fx@gnu.org>
date Thu, 10 Feb 2000 20:26:39 +0000
parents 5980f19581dc
children c3cdb8d6d50d
files src/xfns.c
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/xfns.c	Thu Feb 10 20:00:05 2000 +0000
+++ b/src/xfns.c	Thu Feb 10 20:26:39 2000 +0000
@@ -3134,13 +3134,15 @@
   xim = FRAME_X_XIM (f);
   if (xim)
     {
-      XRectangle s_area = {0, 0, 1, 1};
-      XPoint spot = {0, 1};
+      XRectangle s_area;
+      XPoint spot;
       XVaNestedList preedit_attr;
       XVaNestedList status_attr;
       char *base_fontname;
       int fontset;
 
+      s_area.x = 0; s_area.y = 0; s_area.width = 1; s_area.height = 1;
+      spot.x = 0; spot.y = 1;
       /* Create X fontset. */
       fontset = FRAME_FONTSET (f);
       if (fontset < 0)