summaryrefslogtreecommitdiffstats
path: root/Process.c
diff options
context:
space:
mode:
authorBenny Baumann <BenBE@geshi.org>2023-06-16 11:12:47 +0200
committerBenny Baumann <BenBE@geshi.org>2023-06-16 11:12:56 +0200
commitea23eee8e224b5ec0b0fb832aa0c59d2e90d096b (patch)
tree0eb5e7ca0808ca8f92c0716cb2bb687e38adbc5d /Process.c
parentd8fe027875427be6f5e598fc82373ecb5ed84859 (diff)
Fix typos
Diffstat (limited to 'Process.c')
-rw-r--r--Process.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Process.c b/Process.c
index 43f7f70d..1424d6ef 100644
--- a/Process.c
+++ b/Process.c
@@ -208,7 +208,7 @@ void Process_printTime(RichString* str, unsigned long long totalHundredths, bool
int hourColor = coloring ? CRT_colors[PROCESS_MEGABYTES] : CRT_colors[PROCESS];
int defColor = CRT_colors[PROCESS];
- if (days >= /* Ignore leapyears */365) {
+ if (days >= /* Ignore leap years */365) {
int years = days / 365;
int daysLeft = days - 365 * years;
@@ -287,7 +287,7 @@ void Process_fillStarttimeBuffer(Process* this) {
*
* Note: when colorizing a basename with the comm prefix, the entire basename
* (not just the comm prefix) is colorized for better readability, and it is
- * implicit that only upto (TASK_COMM_LEN - 1) could be comm.
+ * implicit that only up to (TASK_COMM_LEN - 1) could be comm.
*/
#define TASK_COMM_LEN 16

© 2014-2024 Faster IT GmbH | imprint | privacy policy