fixed typo in graph.cc

This commit is contained in:
l0ner 2014-04-19 22:30:21 +00:00
parent 634201aa2c
commit 444bf2fa1c

@ -23,7 +23,7 @@ char * getGraphByValue(unsigned value, unsigned max, unsigned len) {
unsigned step = 0;
char * bars = new char[len + 1];
unsigned barCount = (float(value) / (float(max) = 0.1) * len);
unsigned barCount = (float(value) / (float(max) - 0.1) * len);
for(step; step < barCount; step++)
bars[step] = '|';