[pkg-wine-party] [SCM] Debian Wine packaging branch, wheezy, updated. wine-1.4-7-302-gb61b690
Alexandre Julliard
julliard at winehq.org
Sun Jun 17 20:01:27 UTC 2012
The following commit has been merged in the wheezy branch:
commit be5c8024cef1586713707996baf8d6a74ac39371
Author: Owen Rudge <orudge at codeweavers.com>
Date: Thu Mar 8 11:34:01 2012 +0000
comctl32/monthcal: Check both min and max ranges in IsDateInValidRange.
(cherry picked from commit 72f174192b9adc75d47a166f2b28bf28a7c08898)
diff --git a/dlls/comctl32/monthcal.c b/dlls/comctl32/monthcal.c
index e148a62..1c9572b 100644
--- a/dlls/comctl32/monthcal.c
+++ b/dlls/comctl32/monthcal.c
@@ -353,14 +353,17 @@ static BOOL MONTHCAL_IsDateInValidRange(const MONTHCAL_INFO *infoPtr,
else if(MONTHCAL_CompareSystemTime(date, &min_allowed_date) == -1) {
fix_st = &min_allowed_date;
}
- else if(infoPtr->rangeValid & GDTR_MAX) {
- if((MONTHCAL_CompareSystemTime(date, &infoPtr->maxDate) == 1)) {
- fix_st = &infoPtr->maxDate;
+ else {
+ if(infoPtr->rangeValid & GDTR_MAX) {
+ if((MONTHCAL_CompareSystemTime(date, &infoPtr->maxDate) == 1)) {
+ fix_st = &infoPtr->maxDate;
+ }
}
- }
- else if(infoPtr->rangeValid & GDTR_MIN) {
- if((MONTHCAL_CompareSystemTime(date, &infoPtr->minDate) == -1)) {
- fix_st = &infoPtr->minDate;
+
+ if(infoPtr->rangeValid & GDTR_MIN) {
+ if((MONTHCAL_CompareSystemTime(date, &infoPtr->minDate) == -1)) {
+ fix_st = &infoPtr->minDate;
+ }
}
}
--
Debian Wine packaging
More information about the pkg-wine-party
mailing list