ref: fbfd677a4f6cd2fac688dce5d39cc128be58524f
parent: e2c59cc4b3c33545ece46e80b0ea97f6b9a18bb9
author: Sigrid Haflínudóttir <ftrvxmtrx@gmail.com>
date: Sat Dec 28 10:06:45 EST 2019
fix ascii indentation when stopped exactly in the middle of the line
--- a/hx.c
+++ b/hx.c
@@ -116,6 +116,8 @@
if (sz >= 0) {
if (eof == 0 && lineoff > 0 && lineoff < 16) {
eof = 1;
+ if (lineoff == 8)
+ off--;
for (; lineoff < 16; lineoff++) {
line[lineoff] = 0;
s[off++] = ' ';