Commit b2628e52 authored by Dimitrie O. Paun's avatar Dimitrie O. Paun Committed by Alexandre Julliard

Use the system local time if lpTime=NULL.

parent 53dbe16c
...@@ -4204,7 +4204,7 @@ GetTimeFormatW(LCID locale, /* in */ ...@@ -4204,7 +4204,7 @@ GetTimeFormatW(LCID locale, /* in */
} }
if (xtime == NULL) /* NULL means use the current local time*/ if (xtime == NULL) /* NULL means use the current local time*/
{ GetSystemTime(&t); { GetLocalTime(&t);
thistime = &t; thistime = &t;
} }
else else
......
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