Random size bug fix

This commit is contained in:
Romain Porte 2012-08-07 23:29:22 +02:00
parent 6f84f0cbbd
commit b9d4160273

View File

@ -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];
}
}