shithub: hx

Download patch

ref: 14d4f2349aa47490827461f15875442b5b979eae
parent: 4ae0c205f4f447958b41bb35dddff38a72807ea9
author: Sigrid Haflínudóttir <ftrvxmtrx@gmail.com>
date: Sat Dec 28 08:27:04 EST 2019

fix ascii alignment when there is less bytes at the last line

--- a/hx.c
+++ b/hx.c
@@ -118,6 +118,8 @@
 				s[off++] = ' ';
 				s[off++] = ' ';
 				s[off++] = ' ';
+				if (lineoff == 8)
+					s[off++] = ' ';
 			}
 			i = sz = 0;
 			goto asci;