From 7c68f01ddd9a118709717d990827c90fbf768447 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20G=C3=B6ttsche?= Date: Sat, 4 Feb 2023 17:26:53 +0100 Subject: Misc cleanup * declare read-only pointer parameter const * drop duplicate include of * use String_startsWith --- ScreenManager.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ScreenManager.c') 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)++; -- cgit v1.2.3