aboutsummaryrefslogtreecommitdiff
path: root/src/grid.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/grid.c')
-rw-r--r--src/grid.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/grid.c b/src/grid.c
index 08e1c08..4ecb576 100644
--- a/src/grid.c
+++ b/src/grid.c
@@ -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;

Return to:

Send suggestions and report system problems to the System administrator.