From 782a2efe59da116fdaef208974805f3a37db87e0 Mon Sep 17 00:00:00 2001 From: Richard Campbell Date: Wed, 14 Jan 2004 23:28:33 +0000 Subject: [PATCH] changed explorer slightly svn path=/trunk/; revision=7633 --- reactos/subsys/system/explorer/taskbar/traynotify.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/reactos/subsys/system/explorer/taskbar/traynotify.cpp b/reactos/subsys/system/explorer/taskbar/traynotify.cpp index 13a6604ddbd..27c99b6178e 100644 --- a/reactos/subsys/system/explorer/taskbar/traynotify.cpp +++ b/reactos/subsys/system/explorer/taskbar/traynotify.cpp @@ -381,15 +381,10 @@ void ClockWindow::TimerTick() bool ClockWindow::FormatTime() { - SYSTEMTIME systime; TCHAR buffer[16]; TCHAR TimeFormat[] = TEXT("hh':'mm tt"); - GetLocalTime(&systime); - GetTimeFormat(LOCALE_USER_DEFAULT,0,NULL,TimeFormat,buffer,sizeof(buffer)); - - //_stprintf(buffer, TEXT("%02d:%02d:%02d"), systime.wHour, systime.wMinute, systime.wSecond); - //_stprintf(buffer, TEXT("%02d:%02d"), systime.wHour, systime.wMinute); + GetTimeFormatW(LOCALE_USER_DEFAULT,0,NULL,TimeFormat,buffer,sizeof(buffer)); if (_tcscmp(buffer, _time)) { _tcscpy(_time, buffer);