diff options
Diffstat (limited to 'src/cm.h')
| -rw-r--r-- | src/cm.h | 6 |
1 files changed, 3 insertions, 3 deletions
| @@ -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++; \ |