jcs
/amend
/amendments
/14
tetab: Fix off-by-one
jcs made amendment 14 over 3 years ago
--- tetab.c Thu Oct 21 17:10:02 2021
+++ tetab.c Fri Oct 22 11:59:38 2021
@@ -108,12 +108,11 @@ TETabDrawHook(void)
Move(cwidth * space, 0);
startdraw = i + 1;
} else {
- //DrawChar(c);
cpos++;
}
}
- if (startdraw < i - 1)
+ if (startdraw != i)
DrawText(text, startdraw, i - startdraw);
/* return nothing */