diff src/scrollbar-msw.c @ 290:c9fe270a4101 r21-0b43

Import from CVS: tag r21-0b43
author cvs
date Mon, 13 Aug 2007 10:36:47 +0200
parents e11d67e05968
children 19dcec799385
line wrap: on
line diff
--- a/src/scrollbar-msw.c	Mon Aug 13 10:35:55 2007 +0200
+++ b/src/scrollbar-msw.c	Mon Aug 13 10:36:47 2007 +0200
@@ -122,6 +122,7 @@
 
   /* These might be optimized, but since at least one will change at each
      call, it's probably not worth it. */
+  SCROLLBAR_MSW_INFO (sb).cbSize = sizeof(SCROLLINFO);
   SCROLLBAR_MSW_INFO (sb).nMin = new_minimum;
   SCROLLBAR_MSW_INFO (sb).nMax = new_maximum;
   SCROLLBAR_MSW_INFO (sb).nPage = new_slider_size + 1; /* for DISABLENOSCROLL */