summaryrefslogtreecommitdiff
path: root/Layout/LayoutSweepProgress.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Layout/LayoutSweepProgress.cpp')
-rw-r--r--Layout/LayoutSweepProgress.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/Layout/LayoutSweepProgress.cpp b/Layout/LayoutSweepProgress.cpp
index 36debef..9ddd536 100644
--- a/Layout/LayoutSweepProgress.cpp
+++ b/Layout/LayoutSweepProgress.cpp
@@ -35,7 +35,8 @@ void LayoutSweepProgress::updateCountdown(uint32_t seconds) {
char buf[16];
size_t size;
- writeField(_fCountdownLabel, "No Free Channel", true);
+ // make sure the string version is used
+ writeField(_fCountdownLabel, string("No Free Channel"), true);
size = snprintf(buf, sizeof(buf), "%lu s", seconds);
writeField(_fCountdown, buf, size, true);
}