diff options
author | Hisham Muhammad <hisham@gobolinux.org> | 2014-04-21 18:59:52 -0300 |
---|---|---|
committer | Hisham Muhammad <hisham@gobolinux.org> | 2014-04-21 18:59:52 -0300 |
commit | 2bf8754bc284c18319f15050e348eba56f61911a (patch) | |
tree | 8d1dc51fe8eb9f8caca1f72de4a1bf1d89f6c172 /Meter.c | |
parent | f5a469b5a8250463c6cf75804f5df727dce68362 (diff) |
Remove useless assignment.
Diffstat (limited to 'Meter.c')
-rw-r--r-- | Meter.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -238,11 +238,11 @@ ListItem* Meter_toListItem(Meter* this) { static void TextMeterMode_draw(Meter* this, int x, int y, int w) { char buffer[METER_BUFFER_LEN]; Meter_setValues(this, buffer, METER_BUFFER_LEN - 1); + (void) w; attrset(CRT_colors[METER_TEXT]); mvaddstr(y, x, this->caption); int captionLen = strlen(this->caption); - w -= captionLen; x += captionLen; mvhline(y, x, ' ', CRT_colors[DEFAULT_COLOR]); attrset(CRT_colors[RESET_COLOR]); |