libdebug: Remove dependency on MAX_DISPLAY_WIDTH

This commit is contained in:
Andreas Eversberg committed 2020-10-29 08:01:46 +01:00
1 parent f37dfbe4ee
commit 76c6304ae3
6 files changed
+16 -4

No files matched your search

-2
View File
@@ -101,8 +101,6 @@ void get_win_size(int *w, int *h)
*h = win.ws_row;
*w = win.ws_col;
if (*w > MAX_DISPLAY_WIDTH - 1)
*w = MAX_DISPLAY_WIDTH - 1;
}
void _printdebug(const char *file, const char __attribute__((unused)) *function, int line, int cat, int level, const char *kanal, const char *fmt, ...)