https://git.reactos.org/?p=reactos.git;a=commitdiff;h=6ad4f9e7bbab0effbdb18423f842dc6ab1d1dc12

commit 6ad4f9e7bbab0effbdb18423f842dc6ab1d1dc12
Author:     Eric Kohl <[email protected]>
AuthorDate: Sun Jan 5 12:21:53 2020 +0100
Commit:     Eric Kohl <[email protected]>
CommitDate: Sun Jan 5 12:21:53 2020 +0100

    [TIMEDATE] Update the clock on WM_TIMECHANGE
---
 dll/cpl/timedate/clock.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dll/cpl/timedate/clock.c b/dll/cpl/timedate/clock.c
index ebf9e8df2d2..3fb30f6d8b8 100644
--- a/dll/cpl/timedate/clock.c
+++ b/dll/cpl/timedate/clock.c
@@ -163,6 +163,7 @@ ClockWndProc(HWND hwnd,
             pClockData->cyClient = HIWORD(lParam);
             break;
 
+        case WM_TIMECHANGE:
         case WM_TIMER:
             GetLocalTime(&pClockData->stCurrent);
             InvalidateRect(hwnd, NULL, FALSE);

Reply via email to