summaryrefslogtreecommitdiffstats
path: root/Meter.c
diff options
context:
space:
mode:
authorExplorer09 <explorer09@gmail.com>2016-07-22 14:58:29 +0800
committerExplorer09 <explorer09@gmail.com>2016-07-22 14:58:29 +0800
commit6b9b6db6550e202047c217f3405dad69a298b838 (patch)
treef415dc3bade88992ab26513de4e204dd8dececa6 /Meter.c
parentf80e577c5973069c1c84d7435eec60adc968da82 (diff)
Let BarMeterMode_characters[] be const array.
Diffstat (limited to 'Meter.c')
-rw-r--r--Meter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Meter.c b/Meter.c
index 49fe8d03..dbfa7d7f 100644
--- a/Meter.c
+++ b/Meter.c
@@ -260,7 +260,7 @@ static void TextMeterMode_draw(Meter* this, int x, int y, int w) {
/* ---------- BarMeterMode ---------- */
-static char BarMeterMode_characters[] = "|#*@$%&.";
+static const char BarMeterMode_characters[] = "|#*@$%&.";
static void BarMeterMode_draw(Meter* this, int x, int y, int w) {
char buffer[METER_BUFFER_LEN];

© 2014-2024 Faster IT GmbH | imprint | privacy policy