1
0
mirror of https://github.com/xzeldon/htop.git synced 2025-02-28 22:03:24 +03:00

Merge pull request 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

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