]> git.pld-linux.org Git - packages/pinfo.git/blob - pinfo-color.patch
- added truncation-workaround patch to workaround build failure on th-i686; release 2
[packages/pinfo.git] / pinfo-color.patch
1 --- pinfo-0.6.9/src/parse_config.c.stary        2009-02-19 20:48:09.000000000 +0100
2 +++ pinfo-0.6.9/src/parse_config.c      2009-02-19 20:51:32.000000000 +0100
3 @@ -816,6 +816,8 @@ parse_line(char *line)
4                                 *p = BOLD;
5                         else if (!(strncmp(temp, "NO_BLINK", 7)))
6                                 *p = 0;
7 +                       else if (!(strncmp(temp, "COLOR", 5)))
8 +                               *p = atoi(temp + 5);
9                         else
10                                 return 1;
11                 }
This page took 0.041483 seconds and 4 git commands to generate.