diff options
Diffstat (limited to 'src/grid.c')
-rw-r--r-- | src/grid.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -97,3 +97,6 @@ ygrid_create (grid_t grid, void *cdata) struct ygrid_data *gr = xmalloc (sizeof (*gr)); - gr->step = mon->ystep; + if (mon->ystep_absolute) + gr->step = mon->ystep; + else + gr->step = mon->ystep * mon->max_rate; return gr; |