diff options
author | Jonathan McCrohan <jmccrohan@gmail.com> | 2016-01-30 17:08:40 +0000 |
---|---|---|
committer | Jonathan McCrohan <jmccrohan@gmail.com> | 2016-01-30 17:08:40 +0000 |
commit | 0b0aac6ce21bcb38d7e03dc2b3ff419861476a24 (patch) | |
tree | caa65d08ef64dfd060a749ccc690efd7bcc2a7b3 /ui.c | |
parent | d7ca0c3e555ef0b5250873ddce48ccf2326b017a (diff) | |
download | wavemon-0b0aac6ce21bcb38d7e03dc2b3ff419861476a24.tar.gz |
Imported Upstream version 0.8.0upstream/0.8.0
Diffstat (limited to '')
-rw-r--r-- | ui.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -117,7 +117,7 @@ static double interpolate(const double val, const double min, const double max) } void waddbar(WINDOW *win, int y, float v, float min, float max, - char *cscale, bool rev) + int8_t *cscale, bool rev) { chtype ch = '=' | A_BOLD | cp_from_scale(v, cscale, rev); int len = MAXXLEN * interpolate(v, min, max); @@ -127,7 +127,7 @@ void waddbar(WINDOW *win, int y, float v, float min, float max, } void waddthreshold(WINDOW *win, int y, float v, float tv, - float minv, float maxv, char *cscale, chtype tch) + float minv, float maxv, int8_t *cscale, chtype tch) { if (tv > minv && tv < maxv) { if (v > tv) |