From 5b5e25fe1bff716b91c509eaada0c78e546c2d99 Mon Sep 17 00:00:00 2001 From: matthew Date: Tue, 6 Nov 2018 19:46:46 +0000 Subject: [PATCH] fixed ERR_H redefinition --- nogl/err.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/nogl/err.c b/nogl/err.c index 930bed6..4af0422 100644 --- a/nogl/err.c +++ b/nogl/err.c @@ -8,8 +8,8 @@ static char* lpath = NULL; #define ERR_X 0 #define ERR_Y 0 -#define ERR_W 80 -#define ERR_H 3 +#define ERR_WIDTH 80 +#define ERR_HEIGHT 3 void err_output(const char *message) { @@ -17,7 +17,7 @@ void err_output(const char *message) fprintf(stderr, message); } else { err_clear(); - win = newwin(ERR_H, ERR_W, ERR_Y, ERR_X); + win = newwin(ERR_HEIGHT, ERR_WIDTH, ERR_Y, ERR_X); wborder(win, '|', '|', '-', '-', '+', '+', '+', '+'); mvwprintw(win, 1, 2, message); wrefresh(win); -- 2.20.1