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 | 947da597663e60b0a214d96bfcadc0cd042a49ff (patch) | |
tree | f4d3df7b9f3e41ee4beed2e049d9b52031404b8e /ui.c | |
parent | cec92f1a82b9f29ec16a4c03c37487c7cb019acf (diff) | |
parent | 0b0aac6ce21bcb38d7e03dc2b3ff419861476a24 (diff) | |
download | wavemon-947da597663e60b0a214d96bfcadc0cd042a49ff.tar.gz |
Merge tag 'upstream/0.8.0'
Upstream version 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) |