WindowServer: Fix slightly off alignment of menubar clock.

This commit is contained in:
Andreas Kling 2019-03-08 01:31:03 +01:00
parent f40ef7f495
commit 1e0971c8b4
Notes: sideshowbarker 2024-07-19 15:07:41 +09:00

View file

@ -955,7 +955,7 @@ void WSWindowManager::draw_menubar()
time_t now = time(nullptr);
auto* tm = localtime(&now);
auto time_text = String::format("%4u-%02u-%02u %02u:%02u:%02u\n",
auto time_text = String::format("%4u-%02u-%02u %02u:%02u:%02u",
tm->tm_year + 1900,
tm->tm_mon + 1,
tm->tm_mday,