From 6d57ef4b674a7fc0ee926857d8e94146c6bf05f6 Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Wed, 7 Jul 2010 16:16:29 +0200 Subject: [PATCH] src/graph_list.c: Sort the instances of all graphs. --- src/graph_list.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/graph_list.c b/src/graph_list.c index f5cb2e9..e0f2b97 100644 --- a/src/graph_list.c +++ b/src/graph_list.c @@ -467,6 +467,7 @@ int gl_update (void) /* {{{ */ { time_t now; int status; + size_t i; /* printf ("Content-Type: text/plain\n\n"); @@ -492,6 +493,9 @@ int gl_update (void) /* {{{ */ gl_last_update = now; + for (i = 0; i < gl_active_num; i++) + graph_sort_instances (gl_active[i]); + return (status); } /* }}} int gl_update */ -- 2.11.0