diff options
Diffstat (limited to 'src/crt.h')
-rw-r--r-- | src/crt.h | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -12,6 +12,9 @@ /* * $Log$ + * Revision 1.2 2008/02/04 20:23:55 james + * *** empty log message *** + * * Revision 1.1 2008/02/03 23:31:25 james * *** empty log message *** * @@ -24,8 +27,8 @@ #define CRT_COLS 80 #define CRT_CELS (CRT_ROWS*CRT_COLS) -#define CRT_ADDR(r,c) (((r)*CRT_ROWS)+(c)) -#define CRT_ADDR_POS(p) ((((p)->y)*CRT_ROWS)+((p)->x)) +#define CRT_ADDR(r,c) (((r)*CRT_COLS)+(c)) +#define CRT_ADDR_POS(p) ((((p)->y)*CRT_COLS)+((p)->x)) #define CRT_ATTR_NORMAL 0x0 #define CRT_ATTR_UNDERLINE 0x1 |