Nikolay Sivov : comctl32/monthcal: Really use locale data for all days.

Alexandre Julliard julliard at winehq.org
Fri Oct 9 09:24:11 CDT 2009


Module: wine
Branch: master
Commit: 08b6bff386fbb254e91de2f16a2e31221a13ed00
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=08b6bff386fbb254e91de2f16a2e31221a13ed00

Author: Nikolay Sivov <bunglehead at gmail.com>
Date:   Fri Oct  9 00:47:42 2009 +0400

comctl32/monthcal: Really use locale data for all days.

---

 dlls/comctl32/monthcal.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/comctl32/monthcal.c b/dlls/comctl32/monthcal.c
index 766dbde..7697187 100644
--- a/dlls/comctl32/monthcal.c
+++ b/dlls/comctl32/monthcal.c
@@ -2107,7 +2107,7 @@ static void MONTHCAL_UpdateSize(MONTHCAL_INFO *infoPtr)
   size.cx = sz.cx = 0;
   for (i = 0; i < 7; i++)
   {
-      if(GetLocaleInfoW(LOCALE_USER_DEFAULT, LOCALE_SABBREVDAYNAME1,
+      if(GetLocaleInfoW(LOCALE_USER_DEFAULT, LOCALE_SABBREVDAYNAME1 + i,
                         buff, countof(buff)))
       {
           GetTextExtentPoint32W(hdc, buff, lstrlenW(buff), &sz);




More information about the wine-cvs mailing list