/[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.650.4.7 by gerd, Thu Oct 25 13:09:45 2001 UTC revision 1.650.4.8 by gerd, Fri Oct 26 12:00:10 2001 UTC
# Line 9239  XTset_vertical_scroll_bar (w, portion, w Line 9239  XTset_vertical_scroll_bar (w, portion, w
9239        {        {
9240          int area_width = FRAME_SCROLL_BAR_COLS (f) * CANON_X_UNIT (f);          int area_width = FRAME_SCROLL_BAR_COLS (f) * CANON_X_UNIT (f);
9241          int rest = area_width - sb_width;          int rest = area_width - sb_width;
9242          if (rest > 0)          if (rest > 0 && height > 0)
9243            x_clear_area (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f),            {
9244                          left + area_width -  rest, top,              if (FRAME_HAS_VERTICAL_SCROLL_BARS_ON_LEFT (f))
9245                          rest, max (height, 1), False);                x_clear_area (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f),
9246                                left + area_width -  rest, top,
9247                                rest, height, False);
9248                else
9249                  x_clear_area (FRAME_X_DISPLAY (f), FRAME_X_WINDOW (f),
9250                                left, top, rest, height, False);
9251              }
9252        }        }
9253                
9254        /* Move/size the scroll bar window.  */        /* Move/size the scroll bar window.  */

Legend:
Removed from v.1.650.4.7  
changed lines
  Added in v.1.650.4.8

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