pakfire: use correct tree on x86_64.
[ipfire-2.x.git] / src / patches / screen-4.2.1-cpation-hardstatus.patch
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