]> git.pld-linux.org Git - packages/pinfo.git/blame - pinfo-sig11.patch
- added a patch which removes a sig11 crash
[packages/pinfo.git] / pinfo-sig11.patch
CommitLineData
bf1f03d6
RW
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,7 @@
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 message[i][tmp] = 0;
11 if(tmp>column)
12 mvaddstr (i + 1 - pos, 0, message[i]+column);
This page took 0.060501 seconds and 4 git commands to generate.