Monthcal_SetRange: Use right target
Uwe Bonnes
bon at elektron.ikp.physik.tu-darmstadt.de
Thu Oct 21 15:37:29 CDT 2004
Changelog:
dlls/comctl32/monthcal.c: MONTHCAL_SetRange
Store argument in right target
This makes wxtide ingraph mode not crash when the now button is pushed
--
Uwe Bonnes bon at elektron.ikp.physik.tu-darmstadt.de
Institut fuer Kernphysik Schlossgartenstrasse 9 64289 Darmstadt
--------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------
Index: wine/dlls/comctl32/monthcal.c
===================================================================
RCS file: /home/wine/wine/dlls/comctl32/monthcal.c,v
retrieving revision 1.45
diff -u -r1.45 monthcal.c
--- wine/dlls/comctl32/monthcal.c 25 Aug 2004 17:33:01 -0000 1.45
+++ wine/dlls/comctl32/monthcal.c 21 Oct 2004 20:28:01 -0000
@@ -964,11 +964,11 @@
}
if(wParam & GDTR_MIN) {
if(MONTHCAL_ValidateTime(lprgSysTimeArray[0])) {
- MONTHCAL_CopyTime(&lprgSysTimeArray[0], &infoPtr->maxDate);
+ MONTHCAL_CopyTime(&lprgSysTimeArray[0], &infoPtr->minDate);
infoPtr->rangeValid|=GDTR_MIN;
} else {
GetSystemTime(&infoPtr->todaysDate);
- MONTHCAL_CopyTime(&infoPtr->todaysDate, &infoPtr->maxDate);
+ MONTHCAL_CopyTime(&infoPtr->todaysDate, &infoPtr->minDate);
}
}
More information about the wine-patches
mailing list