summaryrefslogtreecommitdiffstats
path: root/ScreenManager.c
diff options
context:
space:
mode:
authorChristian Göttsche <cgzones@googlemail.com>2023-02-04 17:26:53 +0100
committercgzones <cgzones@googlemail.com>2023-02-18 15:18:53 +0100
commit7c68f01ddd9a118709717d990827c90fbf768447 (patch)
treeedcd9bc9a0bba14293700da8042496667987d24a /ScreenManager.c
parent37eddcf5cd5129040532d5f9b965006226fdb0c1 (diff)
Misc cleanup
* declare read-only pointer parameter const * drop duplicate include of <errno.h> * use String_startsWith
Diffstat (limited to 'ScreenManager.c')
-rw-r--r--ScreenManager.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ScreenManager.c b/ScreenManager.c
index 55cacd20..87e71892 100644
--- a/ScreenManager.c
+++ b/ScreenManager.c
@@ -153,7 +153,7 @@ static void checkRecalculation(ScreenManager* this, double* oldTime, int* sortTi
*rescan = false;
}
-static inline bool drawTab(int* y, int* x, int l, const char* name, bool cur) {
+static inline bool drawTab(const int* y, int* x, int l, const char* name, bool cur) {
attrset(CRT_colors[cur ? SCREENS_CUR_BORDER : SCREENS_OTH_BORDER]);
mvaddch(*y, *x, '[');
(*x)++;

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