mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-05-01 15:52:55 +02:00
git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@543 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
16 lines
487 B
Diff
16 lines
487 B
Diff
diff -ru slang-1.4.5/src/slsmg.c slang-1.4.5-new/src/slsmg.c
|
|
--- slang-1.4.5/src/slsmg.c 2002-07-25 00:09:00.000000000 -0400
|
|
+++ slang-1.4.5-new/src/slsmg.c 2002-07-25 00:04:02.000000000 -0400
|
|
@@ -369,7 +369,10 @@
|
|
|
|
max_len = Start_Col + Screen_Cols;
|
|
len = This_Col;
|
|
- p = SL_Screen[This_Row - Start_Row].neew + len - Start_Col;
|
|
+
|
|
+
|
|
+ p = SL_Screen[This_Row - Start_Row].neew;
|
|
+ if (len > Start_Col) p += len - Start_Col;
|
|
prev = 0;
|
|
|
|
for (i = 0; i < n; i++, str) {
|