diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2019-05-12 19:43:42 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2019-05-12 19:43:42 +0100 |
commit | 8042c056503ccadcf588af482eef56a3bf8a4d9e (patch) | |
tree | d68898184a46c20299622e53e5c09016689cade7 | |
parent | bef67c875c946b941af9751c625086e644690558 (diff) |
fix-height
-rw-r--r-- | ministat.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -353,8 +353,8 @@ PlotSet(struct dataset *ds, int val) pl->data = realloc(pl->data, pl->width * m); memset(pl->data + pl->height * pl->width, 0, (m - pl->height) * pl->width); + pl->height = m; } - pl->height = m; i = -1; for (n = 0; n < ds->n; n++) { x = (ds->points[n] - pl->x0) / pl->dx; |