diff options
author | Explorer09 <explorer09@gmail.com> | 2016-07-22 14:58:29 +0800 |
---|---|---|
committer | Explorer09 <explorer09@gmail.com> | 2016-07-22 14:58:29 +0800 |
commit | 6b9b6db6550e202047c217f3405dad69a298b838 (patch) | |
tree | f415dc3bade88992ab26513de4e204dd8dececa6 | |
parent | f80e577c5973069c1c84d7435eec60adc968da82 (diff) |
Let BarMeterMode_characters[] be const array.
-rw-r--r-- | Meter.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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]; |