From 2ffaf13e91c7283b7c943ca92cf27ed009b433e7 Mon Sep 17 00:00:00 2001 From: Clemens Eyhoff Date: Tue, 27 May 2025 10:02:31 +0200 Subject: [PATCH 1/2] Fix clock display in DE11x11.v3 layout by adding break statement to prevent 'uhr' and 'vor' from appearing together MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Added a break statement to the DE11x11.v3 layout. Without the statement, the clock always displays the words „uhr“ and „vor“ together (for instance, „Es ist zwanzig vor elf Uhr“). However, with the break statement, the word „UHR“ is only displayed when explicitly added (such as „Es ist elf Uhr“). --- include/Uhrtypes/DE11x11.v3.hpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/Uhrtypes/DE11x11.v3.hpp b/include/Uhrtypes/DE11x11.v3.hpp index 6f079694..725287d0 100644 --- a/include/Uhrtypes/DE11x11.v3.hpp +++ b/include/Uhrtypes/DE11x11.v3.hpp @@ -66,6 +66,8 @@ class De11x11V3_t : public De11x11_t { case FrontWord::vor: case FrontWord::v_vor: setFrontMatrixWord(3, 2, 4); + break; + case FrontWord::uhr: setFrontMatrixWord(9, 0, 2); break; @@ -127,4 +129,4 @@ class De11x11V3_t : public De11x11_t { }; }; -De11x11V3_t _de11x11V3; \ No newline at end of file +De11x11V3_t _de11x11V3; From 6d7ace5f081f37d978577de630ff58cbb55f96a4 Mon Sep 17 00:00:00 2001 From: Clemens Eyhoff Date: Thu, 29 May 2025 12:58:19 +0200 Subject: [PATCH 2/2] made clang happy --- include/Uhrtypes/DE11x11.v3.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/Uhrtypes/DE11x11.v3.hpp b/include/Uhrtypes/DE11x11.v3.hpp index 725287d0..a5a7b681 100644 --- a/include/Uhrtypes/DE11x11.v3.hpp +++ b/include/Uhrtypes/DE11x11.v3.hpp @@ -67,7 +67,7 @@ class De11x11V3_t : public De11x11_t { case FrontWord::v_vor: setFrontMatrixWord(3, 2, 4); break; - + case FrontWord::uhr: setFrontMatrixWord(9, 0, 2); break;