From b2628e52780a788fd6bb704de2501c9052bf8b71 Mon Sep 17 00:00:00 2001 From: "Dimitrie O. Paun" Date: Sat, 16 Sep 2000 20:44:19 +0000 Subject: [PATCH] Use the system local time if lpTime=NULL. --- ole/ole2nls.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ole/ole2nls.c b/ole/ole2nls.c index 50b39879fcb..0c5bc893aef 100644 --- a/ole/ole2nls.c +++ b/ole/ole2nls.c @@ -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 -- 2.11.4.GIT