Index: base/shell/explorer-new/trayntfy.c =================================================================== --- base/shell/explorer-new/trayntfy.c (revision 51400) +++ base/shell/explorer-new/trayntfy.c (working copy) @@ -256,7 +256,15 @@ BufSize = sizeof(This->szLines[0]) / sizeof(This->szLines[0][0]); if (ClockWndFormats[i].IsTime) - { + { + if (blShowSeconds == FALSE) + iRet = GetTimeFormat(LOCALE_USER_DEFAULT, + TIME_NOSECONDS, + &This->LocalTime, + ClockWndFormats[i].lpFormat, + This->szLines[i], + BufSize); + else iRet = GetTimeFormat(LOCALE_USER_DEFAULT, ClockWndFormats[i].dwFormatFlags, &This->LocalTime, @@ -276,11 +284,6 @@ if (iRet != 0 && i == 0) { - if (blShowSeconds == FALSE) - { - (This->szLines[0][5] = '\0'); - }; - /* Set the window text to the time only */ SetWindowText(This->hWnd, This->szLines[i]);