Merge pull request #526 from Explorer09/bar-tweaks

Let BarMeterMode_characters[] be const array.
This commit is contained in:
Hisham Muhammad 2016-07-23 13:48:50 -03:00 committed by GitHub
commit f161365d72

View File

@ -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];