Fix display of overlong lines containing non-ASCII bytes.
authorschwarze <schwarze@openbsd.org>
Thu, 6 Jul 2017 19:27:37 +0000 (19:27 +0000)
committerschwarze <schwarze@openbsd.org>
Thu, 6 Jul 2017 19:27:37 +0000 (19:27 +0000)
commit15653d36ede621b282cfa3dba6b397b3f8fb84bf
treec8cf024296a74831b53e2ba7edcf18c72b72bf97
parent4523e0edb76d1ef0a836e8a19fc7db5aa7c5097c
Fix display of overlong lines containing non-ASCII bytes.
Also fixes a crash reported by Hiltjo Posthuma <hiltjo at codemadness
dot org>, though in a different way than with the patch he sent.
OK florian@ bcallah@
usr.bin/mg/display.c