Forgot to set top_running when $running_processes is used
authorPavel Labath <pavelo@centrum.sk>
Sun, 15 Nov 2009 22:00:14 +0000 (23:00 +0100)
committerPavel Labath <pavelo@centrum.sk>
Sun, 15 Nov 2009 22:00:14 +0000 (23:00 +0100)
src/core.c

index e8853e0..637c28d 100644 (file)
@@ -743,6 +743,7 @@ struct text_object *construct_text_object(const char *s, const char *arg, long
        END OBJ(processes, &update_total_processes)
 #ifdef __linux__
        END OBJ(running_processes, &update_top)
+               top_running = 1;
        END OBJ(threads, &update_threads)
        END OBJ(running_threads, &update_stat)
 #else