kernel32: Remove redundant comparison.

Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Andrey Gusev 2018-01-09 13:24:20 +02:00 committed by Alexandre Julliard
parent b84fb5974f
commit 061e2bbff1
1 changed files with 1 additions and 1 deletions

View File

@ -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++;