# HG changeset patch # User Karl Heuer # Date 772159332 0 # Node ID 26c3ce816369cfa82db632e780ca003c07ffb118 # Parent 5d29639db74946a53178970d4b7c61721ee9bbee (x_window): Delete duplicate computation. Change type of reference argument from int to short. diff -r 5d29639db749 -r 26c3ce816369 src/xfns.c --- a/src/xfns.c Mon Jun 20 23:24:13 1994 +0000 +++ b/src/xfns.c Tue Jun 21 00:42:12 1994 +0000 @@ -1927,21 +1927,15 @@ 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; }