From 5634a9576e46c0c89e3b0c876d5ecf7b7e70c067 Mon Sep 17 00:00:00 2001 From: Mike Fiore Date: Fri, 20 Nov 2015 08:41:12 -0600 Subject: make "No Free Channel" lines full screen width to wipe out random character - don't know where it's coming from! --- Layout/LayoutSurveyProgress.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Layout/LayoutSurveyProgress.cpp') diff --git a/Layout/LayoutSurveyProgress.cpp b/Layout/LayoutSurveyProgress.cpp index c0434f7..4a50fbb 100644 --- a/Layout/LayoutSurveyProgress.cpp +++ b/Layout/LayoutSurveyProgress.cpp @@ -27,7 +27,9 @@ void LayoutSurveyProgress::updateCountdown(uint32_t seconds) { size_t size; memset(buf, 0, sizeof(buf)); - writeField(_fCountdownLabel, "No Free Channel", true); + // for some reason, there's a % character that gets displayed in the last column + // add the extra spaces to wipe it out + writeField(_fCountdownLabel, "No Free Channel ", true); size = snprintf(buf, sizeof(buf), "%lu s", seconds); writeField(_fCountdown, buf, size, true); } -- cgit v1.2.3