Use the system local time if lpTime=NULL.

This commit is contained in:
Dimitrie O. Paun 2000-09-16 20:44:19 +00:00 committed by Alexandre Julliard
parent 53dbe16cc2
commit b2628e5278
1 changed files with 1 additions and 1 deletions

View File

@ -4204,7 +4204,7 @@ GetTimeFormatW(LCID locale, /* in */
}
if (xtime == NULL) /* NULL means use the current local time*/
{ GetSystemTime(&t);
{ GetLocalTime(&t);
thistime = &t;
}
else