Commit 061e2bbf authored by Andrey Gusev's avatar Andrey Gusev Committed by Alexandre Julliard

kernel32: Remove redundant comparison.

parent b84fb597
......@@ -560,7 +560,7 @@ static INT NLS_GetDateTimeFormatW(LCID lcid, DWORD dwFlags,
++format;
}
/* Only numeric day form matters */
if (*format && *format == 'd')
if (*format == 'd')
{
INT dcount = 1;
while (*++format == 'd') dcount++;
......
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