Commit 08b6bff3 authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

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

parent c93a5207
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment