Blame SOURCES/screen-4.1.0-caption-padding.patch

acfb26
diff -urNp old/src/screen.c new/src/screen.c
acfb26
--- old/src/screen.c	2017-10-04 09:49:28.274367045 +0200
acfb26
+++ new/src/screen.c	2017-10-04 09:50:40.154585607 +0200
acfb26
@@ -2278,8 +2278,8 @@ int padlen;
acfb26
 	  while (i-- > 0)
acfb26
 	    *pn-- = ' ';
acfb26
 	  numpad--;
acfb26
-	  if (r && p - buf == winmsg_rendpos[r - 1])
acfb26
-	    winmsg_rendpos[--r] = pn - buf;
acfb26
+	  if (r && p - buf + 1 == winmsg_rendpos[r - 1])
acfb26
+	    winmsg_rendpos[--r] = pn - buf + 1;
acfb26
 	}
acfb26
     }
acfb26
   return pn2;