From a1efdbbfa0125268c599f20ceccc446f25967298 Mon Sep 17 00:00:00 2001 From: faissaloo Date: Fri, 26 Aug 2016 15:05:06 +0100 Subject: [PATCH 06/20] Fixed highlighting bug --- src/winio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/winio.c b/src/winio.c index 33a9371..a29d02a 100644 --- a/src/winio.c +++ b/src/winio.c @@ -2354,7 +2354,7 @@ void edit_draw(filestruct *fileptr, const char *converted, int assert(0 <= x_start && 0 <= paintlen); - mvwaddnstr(edit, line, x_start+margin, converted + + mvwaddnstr(edit, line, x_start-margin, converted + index, paintlen); } k = startmatch.rm_eo; -- 2.7.4