about summary refs log tree commit diff stats
path: root/src/TRSTable.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/TRSTable.c')
-rw-r--r--src/TRSTable.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/TRSTable.c b/src/TRSTable.c
index 586a7593..f25906c8 100644
--- a/src/TRSTable.c
+++ b/src/TRSTable.c
@@ -23,9 +23,9 @@
 #endif
 
 #ifdef USE_CURSES_PADS
-#  define MAX_STBL_POS (LYwideLines ? MAX_COLS - 1 : LYcols-1)
+#  define MAX_STBL_POS (LYwideLines ? MAX_COLS - 1 : LYcolLimit)
 #else
-#  define MAX_STBL_POS (LYcols-1)
+#  define MAX_STBL_POS (LYcolLimit)
 #endif
 
 /* must be different from HT_ALIGN_NONE and HT_LEFT, HT_CENTER etc.: */