omctl32:monthcal Correcting the return value in MCM_SETFIRSTDAYOFWEEK

Farshad Agah f_agah at yahoo.com
Fri Mar 16 02:34:36 CDT 2007


Hi,

The attached patch fixes 15 todo_wines in
MCM_SETFIRSTDAYOFWEEK for Month Calendar. When the
previous first day of the week was not
LOCALE_IFIRSTDAYOFWEEK, the high order word of the
return value was not TRUE; and would return a wrong
value when the previous first day of the week was
LOCALE_IFIRSTDAYOFWEEK.

This patch depends on another patch that I have posted
for message sequences test cases and needs to be
applied after that patch. I have also extended test
cases related to MCM_SETFIRSTDAYOFWEEK. I certify that
I have not seen any Microsoft secret source code.
 

Thank you,
Farshad Agah

monthcal.c       |   20 ++++++----
tests/monthcal.c |   89
++++++++++++++++++++++++++++++++---------------
2 files changed, 73 insertions(+), 36 deletions(-)



 
____________________________________________________________________________________
Sucker-punch spam with award-winning protection. 
Try the free Yahoo! Mail Beta.
http://advision.webevents.yahoo.com/mailbeta/features_spam.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: monthcal_bug_fix_2.patch
Type: application/octet-stream
Size: 6240 bytes
Desc: 3171014342-monthcal_bug_fix_2.patch
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20070316/e73b50a5/monthcal_bug_fix_2.obj


More information about the wine-patches mailing list