From 28a52b2df7761bd97d74938d582b1f678d23c756 Mon Sep 17 00:00:00 2001 From: james <> Date: Mon, 4 Feb 2008 20:23:55 +0000 Subject: *** empty log message *** --- src/crt.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/crt.h') diff --git a/src/crt.h b/src/crt.h index a46affa..ca3fc00 100644 --- a/src/crt.h +++ b/src/crt.h @@ -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 -- cgit v1.2.3