]>
Commit | Line | Data |
---|---|---|
2a219580 MF |
1 | diff --git a/src/screen.c b/src/screen.c |
2 | index 473e4fa..8b36bea 100644 | |
3 | --- a/screen.c | |
4 | +++ b/screen.c | |
5 | @@ -2271,8 +2271,8 @@ int padlen; | |
6 | while (i-- > 0) | |
7 | *pn-- = ' '; | |
8 | numpad--; | |
9 | - if (r && p - buf == winmsg_rendpos[r - 1]) | |
10 | - winmsg_rendpos[--r] = pn - buf; | |
11 | + if (r && p - buf + 1== winmsg_rendpos[r - 1]) | |
12 | + winmsg_rendpos[--r] = pn - buf + 1; | |
13 | } | |
14 | } | |
15 | return pn2; | |
16 |