]>
Commit | Line | Data |
---|---|---|
bf1f03d6 RW |
1 | diff -urN pinfo-0.6.8/src/video.c pinfo-0.6.8.patch/src/video.c |
2 | --- pinfo-0.6.8/src/video.c 2002-07-21 20:42:00.000000000 +0200 | |
3 | +++ pinfo-0.6.8.patch/src/video.c 2004-09-25 05:20:10.042759936 +0200 | |
f8958706 | 4 | @@ -66,7 +66,8 @@ |
bf1f03d6 RW |
5 | attrset (normal); |
6 | for (i = pos; (i < lines) && (i < pos + maxy - 2); i++) | |
7 | { | |
8 | - int tmp = strlen (message[i]) - 1; | |
9 | + int tmp = strlen (message[i]); | |
f8958706 | 10 | + if (tmp) tmp--; |
bf1f03d6 RW |
11 | message[i][tmp] = 0; |
12 | if(tmp>column) | |
13 | mvaddstr (i + 1 - pos, 0, message[i]+column); |