This is an automated email from the git hooks/post-receive script.

git pushed a commit to branch master
in repository evisum.

View the commit online.

commit 4841b998bb37d67d47467ee91446549e6a032acc
Author: Alastair Poole <m...@alastairpoole.com>
AuthorDate: Wed Mar 5 22:18:04 2025 +0000

    process_list: fix summary
    
    Summary totals was broken.
    
    @fix
---
 src/bin/ui/ui_process_list.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/bin/ui/ui_process_list.c b/src/bin/ui/ui_process_list.c
index 5341aae..d43e96e 100644
--- a/src/bin/ui/ui_process_list.c
+++ b/src/bin/ui/ui_process_list.c
@@ -1024,11 +1024,11 @@ static void
 _summary_total(Win_Data *wd, Proc_Info *proc)
 {
    wd->summary.total++;
-   if (!strcmp(proc->state, _("running")))
+   if (!strcmp(proc->state, _("run")))
      wd->summary.running++;
-   else if (!strcmp(proc->state, _("sleeping")))
+   else if (!strcmp(proc->state, _("sleep")))
      wd->summary.sleeping++;
-   else if (!strcmp(proc->state, _("stopped")))
+   else if (!strcmp(proc->state, _("stop")))
      wd->summary.stopped++;
    else if (!strcmp(proc->state, _("idle")))
      wd->summary.idle++;

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.

Reply via email to