From 315ea991bc2cb59089de0b8517a6c999bca805c5 Mon Sep 17 00:00:00 2001 From: Viktar Lukashonak Date: Fri, 13 May 2022 23:56:08 +0300 Subject: [PATCH] Calendar module: localization issue #1552 Linter #60 --- src/modules/clock.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/clock.cpp b/src/modules/clock.cpp index 3f2bf966..5d42402a 100644 --- a/src/modules/clock.cpp +++ b/src/modules/clock.cpp @@ -232,7 +232,7 @@ auto waybar::modules::Clock::calendar_text(const waybar_time& wtime) -> std::str /*Print weeks on the right when the endings with spaces*/ if (ws == 2 && d == last_day) { empty_days = 6 - (wd.c_encoding() - first_dow.c_encoding()); - if(empty_days > 0) { + if (empty_days > 0) { os << std::string(empty_days * 3 + 1, ' '); print_iso_weeknum(os, wn); }