mirror of https://github.com/xzeldon/htop.git
Let BarMeterMode_characters[] be const array.
This commit is contained in:
parent
f80e577c59
commit
6b9b6db655
2
Meter.c
2
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];
|
||||
|
|
Loading…
Reference in New Issue