button calc
Ulrich Czekalla
ulrich.czekalla at utoronto.ca
Mon Aug 16 11:23:55 CDT 2004
ChangeLog:
Ulrich Czekalla <ulrich at codeweavers.com>
Bottom of button should be rbox.top + checkBoxHeight
-------------- next part --------------
Index: controls/button.c
===================================================================
RCS file: /home/wine/wine/controls/button.c,v
retrieving revision 1.71
diff -u -r1.71 button.c
--- controls/button.c 9 Aug 2004 23:38:40 -0000 1.71
+++ controls/button.c 16 Aug 2004 16:20:37 -0000
@@ -872,7 +872,7 @@
rbox.bottom = rbox.top + checkBoxHeight;
} else {
rbox.top -= -delta/2 + 1;
- rbox.bottom += rbox.top + checkBoxHeight;
+ rbox.bottom = rbox.top + checkBoxHeight;
}
} else if (style & BS_BOTTOM) {
if (delta > 0) {
More information about the wine-patches
mailing list