From 24ebff6a6207ec7978517bd994f54b0779c513dc Mon Sep 17 00:00:00 2001 From: Pavel Labath Date: Tue, 1 Dec 2009 14:17:49 +0100 Subject: [PATCH] Fix $memgraph (i think) --- src/common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common.c b/src/common.c index cc44006a..1bea762e 100644 --- a/src/common.c +++ b/src/common.c @@ -515,7 +515,7 @@ uint8_t mem_barval(struct text_object *obj) { (void)obj; - return round_to_int(info.memmax ? (info.mem * 255 / info.memmax) : 0); + return round_to_int(info.memmax ? (info.mem * 100 / info.memmax) : 0); } uint8_t swap_percentage(struct text_object *obj)