From: Karl Heuer Date: Tue, 21 Jun 1994 00:42:12 +0000 (+0000) Subject: (x_window): Delete duplicate computation. X-Git-Tag: emacs-19.34~7865 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=ec5c4af4d2eee1648110d7d9bd8fd8b9620db5df;p=emacs.git (x_window): Delete duplicate computation. Change type of reference argument from int to short. --- diff --git a/src/xfns.c b/src/xfns.c index 3a5c0883383..43398848084 100644 --- a/src/xfns.c +++ b/src/xfns.c @@ -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; }