libdebug: Remove dependency on MAX_DISPLAY_WIDTH

This commit is contained in:
Andreas Eversberg
2020-10-09 14:53:47 +02:00
parent f37dfbe4ee
commit 76c6304ae3
6 changed files with 16 additions and 4 deletions

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, ...)