# HG changeset patch # User bsmith@81767d24-ef19-dc11-ae90-00e081727c95 # Date 1305707714 0 # Node ID 3573878d1239240a40cc1262e7378456e61d9ded # Parent 814e4767277f2ba87496ec424084d1ba1f95360e Make sure the initial spinbutton limits on Windows match the other platforms. diff -r 814e4767277f -r 3573878d1239 win/dw.c --- a/win/dw.c Wed May 18 08:29:26 2011 +0000 +++ b/win/dw.c Wed May 18 08:35:14 2011 +0000 @@ -5449,6 +5449,7 @@ NULL); ColorInfo *cinfo = calloc(1, sizeof(ColorInfo)); + SendMessage(tmp, UDM_SETRANGE32, (WPARAM)-65536,(LPARAM)65536); SendMessage(tmp, UDM_SETBUDDY, (WPARAM)buddy, 0); cinfo->back = cinfo->fore = -1; cinfo->buddy = tmp;