screen: Update to 4.2.1

This commit is contained in:
Matthias Fischer
2014-11-30 17:09:38 +01:00
parent ad92967574
commit 2a2195807e
5 changed files with 40 additions and 53 deletions

View File

@@ -0,0 +1,16 @@
diff --git a/src/screen.c b/src/screen.c
index 473e4fa..8b36bea 100644
--- a/screen.c
+++ b/screen.c
@@ -2271,8 +2271,8 @@ int padlen;
while (i-- > 0)
*pn-- = ' ';
numpad--;
- if (r && p - buf == winmsg_rendpos[r - 1])
- winmsg_rendpos[--r] = pn - buf;
+ if (r && p - buf + 1== winmsg_rendpos[r - 1])
+ winmsg_rendpos[--r] = pn - buf + 1;
}
}
return pn2;