From b9d41602739a3d3de5c9dbcb651268f26eadbbaa Mon Sep 17 00:00:00 2001 From: Romain Porte Date: Tue, 7 Aug 2012 23:29:22 +0200 Subject: [PATCH] Random size bug fix --- src/status.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/status.c b/src/status.c index 66623ff..fbc2073 100644 --- a/src/status.c +++ b/src/status.c @@ -83,7 +83,7 @@ status_graph_draw(struct status_ctx *ctx, struct status_seq *sq, struct status_g j >= 0 && i >= sq->geo.x; --j, --i) { - if(j > max) + if(gc->datas[j] > max) max = gc->datas[j]; } }