Use the system local time if lpTime=NULL.
This commit is contained in:
parent
53dbe16cc2
commit
b2628e5278
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue