[haiku-commits] r39426 - haiku/trunk/src/apps/activitymonitor

  • From: axeld@xxxxxxxxxxxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Sun, 14 Nov 2010 12:29:50 +0100 (CET)

Author: axeld
Date: 2010-11-14 12:29:50 +0100 (Sun, 14 Nov 2010)
New Revision: 39426
Changeset: http://dev.haiku-os.org/changeset/39426
Ticket: http://dev.haiku-os.org/ticket/6816

Modified:
   haiku/trunk/src/apps/activitymonitor/DataSource.cpp
Log:
* Start numbering the CPUs with 1 instead of 0. This closes ticket #6816.


Modified: haiku/trunk/src/apps/activitymonitor/DataSource.cpp
===================================================================
--- haiku/trunk/src/apps/activitymonitor/DataSource.cpp 2010-11-14 11:27:58 UTC 
(rev 39425)
+++ haiku/trunk/src/apps/activitymonitor/DataSource.cpp 2010-11-14 11:29:50 UTC 
(rev 39426)
@@ -870,7 +870,7 @@
        fCPU = cpu;
        fLabel = "CPU";
        if (SystemInfo().CPUCount() > 1)
-               fLabel << " " << cpu;
+               fLabel << " " << cpu + 1;
 
        fShortLabel = fLabel;
        fLabel << " usage";


Other related posts:

  • » [haiku-commits] r39426 - haiku/trunk/src/apps/activitymonitor - axeld