diff options
author | Romain Porte <microjoe@mailoo.org> | 2012-08-07 23:29:22 +0200 |
---|---|---|
committer | Romain Porte <microjoe@mailoo.org> | 2012-08-07 23:29:22 +0200 |
commit | b9d41602739a3d3de5c9dbcb651268f26eadbbaa (patch) | |
tree | 6c935192e7882236cc56e0fa8b0abd9f6c2b14b0 | |
parent | 6f84f0cbbdff02494c3fec8b7c72f2d069219c85 (diff) | |
download | wmfs-b9d41602739a3d3de5c9dbcb651268f26eadbbaa.zip wmfs-b9d41602739a3d3de5c9dbcb651268f26eadbbaa.tar.gz wmfs-b9d41602739a3d3de5c9dbcb651268f26eadbbaa.tar.bz2 |
Random size bug fix
-rw-r--r-- | src/status.c | 2 |
1 files changed, 1 insertions, 1 deletions
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]; } } |