netstar pushed a commit to branch master.

http://git.enlightenment.org/apps/evisum.git/commit/?id=9c62b9687bf944577da0fe00998a2c14414d4d86

commit 9c62b9687bf944577da0fe00998a2c14414d4d86
Author: Alastair Poole <nets...@gmail.com>
Date:   Tue Sep 8 13:47:01 2020 +0100

    ui_cpu: check cpu count :)
---
 src/bin/ui/ui_cpu.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/ui/ui_cpu.c b/src/bin/ui/ui_cpu.c
index 35a6300..6a37bea 100644
--- a/src/bin/ui/ui_cpu.c
+++ b/src/bin/ui/ui_cpu.c
@@ -753,7 +753,7 @@ ui_win_cpu_add(Ui *ui)
    evas_object_show(box);
 
    cpu_count = system_cpu_online_count_get();
-   if (1 || cpu_count > 4)
+   if (cpu_count > 4)
      _complex(ui, box);
    else
      _graphs(ui, box);

-- 


Reply via email to