]> git.pld-linux.org Git - packages/pinfo.git/blame_incremental - pinfo-sig11.patch
- updated
[packages/pinfo.git] / pinfo-sig11.patch
... / ...
CommitLineData
1diff -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
4@@ -66,7 +66,8 @@
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]);
10+ if (tmp) tmp--;
11 message[i][tmp] = 0;
12 if(tmp>column)
13 mvaddstr (i + 1 - pos, 0, message[i]+column);
This page took 0.073879 seconds and 4 git commands to generate.