mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-05-11 09:48:24 +02:00
screen: Update to 4.2.1
This commit is contained in:
16
src/patches/screen-4.2.1-cpation-hardstatus.patch
Normal file
16
src/patches/screen-4.2.1-cpation-hardstatus.patch
Normal 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;
|
||||
|
||||
Reference in New Issue
Block a user