chiark / gitweb /
*** empty log message ***
[sympathy.git] / src / crt.h
index a46affa3fef3e97704b19b2a53123c8d1eed07be..ca3fc00fc9d53797c31ea89811a73e7a2734cb02 100644 (file)
--- 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