diff options
Diffstat (limited to 'src/plugins/stats/statistics.c')
-rw-r--r-- | src/plugins/stats/statistics.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/stats/statistics.c b/src/plugins/stats/statistics.c index 5852c79a..7e22d284 100644 --- a/src/plugins/stats/statistics.c +++ b/src/plugins/stats/statistics.c | |||
@@ -174,7 +174,7 @@ static void load_graph_draw(LoadGraph *g) { | |||
174 | gint y2 = g->data[i+1][j] / max * g->draw_height - 1; | 174 | gint y2 = g->data[i+1][j] / max * g->draw_height - 1; |
175 | 175 | ||
176 | if ((g->data[i][j] != -1) && (g->data[i+1][j] != -1)) { | 176 | if ((g->data[i][j] != -1) && (g->data[i+1][j] != -1)) { |
177 | if (stats[g->statIdx].fill <= i) { | 177 | if (stats[g->statIdx].fill <= j) { |
178 | gdk_draw_line(g->pixmap, g->gc, | 178 | gdk_draw_line(g->pixmap, g->gc, |
179 | g->draw_width - x2, | 179 | g->draw_width - x2, |
180 | g->draw_height - y2, | 180 | g->draw_height - y2, |
@@ -441,7 +441,7 @@ void init_stats(struct GE_Context * ectx, | |||
441 | "STATS-INTERVAL", | 441 | "STATS-INTERVAL", |
442 | 1, | 442 | 1, |
443 | 99 * cronYEARS, | 443 | 99 * cronYEARS, |
444 | 30 * cronSECONDS, | 444 | 3 * cronSECONDS, |
445 | &UPDATE_INTERVAL); | 445 | &UPDATE_INTERVAL); |
446 | init_functions(ectx, | 446 | init_functions(ectx, |
447 | cfg); | 447 | cfg); |