summaryrefslogtreecommitdiffstats
path: root/Process.c
diff options
context:
space:
mode:
Diffstat (limited to 'Process.c')
-rw-r--r--Process.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Process.c b/Process.c
index 475d23d5..6ecd217c 100644
--- a/Process.c
+++ b/Process.c
@@ -715,8 +715,10 @@ void Process_printPercentage(float val, char* buffer, int n, int* attr) {
}
xSnprintf(buffer, n, "%4.1f ", val);
} else if (val < 999) {
+ *attr = CRT_colors[PROCESS_MEGABYTES];
xSnprintf(buffer, n, "%3d. ", (int)val);
} else {
+ *attr = CRT_colors[PROCESS_GIGABYTES];
xSnprintf(buffer, n, "%4d ", (int)val);
}
} else {