]> git.eshelyaron.com Git - emacs.git/commitdiff
(x_window): Delete duplicate computation.
authorKarl Heuer <kwzh@gnu.org>
Tue, 21 Jun 1994 00:42:12 +0000 (00:42 +0000)
committerKarl Heuer <kwzh@gnu.org>
Tue, 21 Jun 1994 00:42:12 +0000 (00:42 +0000)
Change type of reference argument from int to short.

src/xfns.c

index 3a5c088338318be6ff3f13311c25aad0c877033f..43398848084738963b7dda9ad3f225ef167c0321 100644 (file)
@@ -1927,21 +1927,15 @@ x_window (f, window_prompting, minibuffer_only)
     char *tem, shell_position[32];
     Arg al[2];
     int ac = 0;
-    int ibw;
     int menubar_size 
       = (f->display.x->menubar_widget
         ? (f->display.x->menubar_widget->core.height
            + f->display.x->menubar_widget->core.border_width)
         : 0);
 
-    XtVaGetValues (pane_widget,
-                   XtNinternalBorderWidth, &ibw,
-                   NULL);
-    menubar_size += ibw;
-
     if (FRAME_EXTERNAL_MENU_BAR (f))
       {
-        int ibw;
+        short ibw;
         XtVaGetValues (pane_widget, XtNinternalBorderWidth, &ibw, NULL);
         menubar_size += ibw;
       }