+2001-02-08 Stefan Monnier <monnier@cs.yale.edu>
+
+ * w32term.c (w32_set_scroll_bar_thumb): Use `double' for `range'
+ to avoid overflow.
+
2001-02-07 Kenichi Handa <handa@etl.go.jp>
* charset.c (parse_str_to_multibyte): New function.
int portion, position, whole;
{
Window w = SCROLL_BAR_W32_WINDOW (bar);
- int range = VERTICAL_SCROLL_BAR_TOP_RANGE (f, XINT (bar->height));
+ double range = VERTICAL_SCROLL_BAR_TOP_RANGE (f, XINT (bar->height));
int sb_page, sb_pos;
BOOL draggingp = !NILP (bar->dragging) ? TRUE : FALSE;