From 82a7c12e8338288ccb40d213fcc9e15d102aa968 Mon Sep 17 00:00:00 2001 From: KatolaZ Date: Thu, 1 Aug 2019 16:42:36 +0100 Subject: remove trailing blank lines in write_file - change check_bound --- gramscii.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'gramscii.h') diff --git a/gramscii.h b/gramscii.h index 0792a38..6fcbb99 100644 --- a/gramscii.h +++ b/gramscii.h @@ -82,7 +82,9 @@ typedef struct{ #define progr_x(d) ((d) == DIR_L ? -1 : (d) == DIR_R ? 1 : 0) #define progr_y(d) ((d) == DIR_U ? -1 : (d) == DIR_D ? 1 : 0) -#define DEBUG 1 +/* + * #define DEBUG 1 + */ /** global variables **/ @@ -139,7 +141,7 @@ struct termios t1, t2, t3; void reset_styles(); void redraw(); int move_around(char c, FILE *fc); -void check_bound(); +void check_bound(int *x, int *y); void status_bar(); void show_cursor(); void set_cur(char c); -- cgit v1.2.3