[PATCH 4/6] Really use locale data for all days
Nikolay Sivov
bunglehead at gmail.com
Thu Oct 8 15:47:42 CDT 2009
---
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);
--
1.5.6.5
--=-0ahUo2W+e6Z3DH8t9kup--
More information about the wine-patches
mailing list