/[emacs]/emacs/src/xterm.c
ViewVC logotype

Diff of /emacs/src/xterm.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.669 by gerd, Thu Oct 25 12:58:15 2001 UTC revision 1.670 by gerd, Fri Oct 26 11:57:25 2001 UTC
# Line 9253  XTset_vertical_scroll_bar (w, portion, w Line 9253  XTset_vertical_scroll_bar (w, portion, w
9253        {        {
9254          int area_width = FRAME_SCROLL_BAR_COLS (f) * CANON_X_UNIT (f);          int area_width = FRAME_SCROLL_BAR_COLS (f) * CANON_X_UNIT (f);
9255          int rest = area_width - sb_width;          int rest = area_width - sb_width;
9256          if (rest > 0)          if (rest > 0 && height > 0)
9257            x_clear_area (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f),            {
9258                          left + area_width -  rest, top,              if (FRAME_HAS_VERTICAL_SCROLL_BARS_ON_LEFT (f))
9259                          rest, max (height, 1), False);                x_clear_area (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f),
9260                                left + area_width -  rest, top,
9261                                rest, height, False);
9262                else
9263                  x_clear_area (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f),
9264                                left, top, rest, height, False);
9265              }
9266        }        }
9267                
9268        /* Move/size the scroll bar window.  */        /* Move/size the scroll bar window.  */

Legend:
Removed from v.1.669  
changed lines
  Added in v.1.670

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26