From 444bf2fa1cc83c1a2d0273914e98f92e4ad0bd8c Mon Sep 17 00:00:00 2001 From: l0ner Date: Sat, 19 Apr 2014 22:30:21 +0000 Subject: [PATCH] fixed typo in graph.cc --- graph.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/graph.cc b/graph.cc index 9e23264..6080f8d 100644 --- a/graph.cc +++ b/graph.cc @@ -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] = '|';