diff options
author | KatolaZ <katolaz@freaknet.org> | 2019-08-01 16:42:36 +0100 |
---|---|---|
committer | KatolaZ <katolaz@freaknet.org> | 2019-08-01 16:42:36 +0100 |
commit | 82a7c12e8338288ccb40d213fcc9e15d102aa968 (patch) | |
tree | 970ca2f39dc599624e53a10e59d05bc908f9b0a2 /gramscii.h | |
parent | 62713aaf65264950aecad9237d50e911d7dad893 (diff) |
remove trailing blank lines in write_file - change check_bound
Diffstat (limited to 'gramscii.h')
-rw-r--r-- | gramscii.h | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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); |