aboutsummaryrefslogtreecommitdiffstats
path: root/src/cm.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/cm.h')
-rw-r--r--src/cm.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/cm.h b/src/cm.h
index eef86b93be4..112bbfd020f 100644
--- a/src/cm.h
+++ b/src/cm.h
@@ -125,8 +125,8 @@ extern short ospeed; /* Output speed (from sg_ospeed) */
125#define AutoWrap Wcm.cm_autowrap 125#define AutoWrap Wcm.cm_autowrap
126#define MagicWrap Wcm.cm_magicwrap 126#define MagicWrap Wcm.cm_magicwrap
127#define UseTabs Wcm.cm_usetabs 127#define UseTabs Wcm.cm_usetabs
128#define ScreenRows Wcm.cm_rows 128#define FrameRows Wcm.cm_rows
129#define ScreenCols Wcm.cm_cols 129#define FrameCols Wcm.cm_cols
130 130
131#define UpCost Wcm.cc_up 131#define UpCost Wcm.cc_up
132#define DownCost Wcm.cc_down 132#define DownCost Wcm.cc_down
@@ -149,7 +149,7 @@ extern short ospeed; /* Output speed (from sg_ospeed) */
149#define cmat(row,col) (curY = (row), curX = (col)) 149#define cmat(row,col) (curY = (row), curX = (col))
150#define cmplus(n) \ 150#define cmplus(n) \
151 { \ 151 { \
152 if ((curX += (n)) >= ScreenCols && !MagicWrap) \ 152 if ((curX += (n)) >= FrameCols && !MagicWrap) \
153 { \ 153 { \
154 if (Wcm.cm_losewrap) losecursor (); \ 154 if (Wcm.cm_losewrap) losecursor (); \
155 else if (AutoWrap) curX = 0, curY++; \ 155 else if (AutoWrap) curX = 0, curY++; \