summaryrefslogtreecommitdiff
path: root/Layout/LayoutSurveyProgress.cpp
diff options
context:
space:
mode:
authorMike Fiore <mfiore@multitech.com>2015-11-20 08:41:12 -0600
committerMike Fiore <mfiore@multitech.com>2015-11-20 08:41:12 -0600
commit5634a9576e46c0c89e3b0c876d5ecf7b7e70c067 (patch)
tree35698a57a698ae895b087679319321f30258c88c /Layout/LayoutSurveyProgress.cpp
parent674cdb5c13bad3598381b81d843b5aeee5798d1f (diff)
downloadmtdot-box-evb-factory-firmware-5634a9576e46c0c89e3b0c876d5ecf7b7e70c067.tar.gz
mtdot-box-evb-factory-firmware-5634a9576e46c0c89e3b0c876d5ecf7b7e70c067.tar.bz2
mtdot-box-evb-factory-firmware-5634a9576e46c0c89e3b0c876d5ecf7b7e70c067.zip
make "No Free Channel" lines full screen width to wipe out random character - don't know where it's coming from!
Diffstat (limited to 'Layout/LayoutSurveyProgress.cpp')
-rw-r--r--Layout/LayoutSurveyProgress.cpp4
1 files changed, 3 insertions, 1 deletions
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);
}