SOURCES: pinfo-color.patch (NEW) - support for 256 colors.
witekfl
witekfl at pld-linux.org
Thu Feb 19 21:10:12 CET 2009
Author: witekfl Date: Thu Feb 19 20:10:12 2009 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- support for 256 colors.
---- Files affected:
SOURCES:
pinfo-color.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/pinfo-color.patch
diff -u /dev/null SOURCES/pinfo-color.patch:1.1
--- /dev/null Thu Feb 19 21:10:12 2009
+++ SOURCES/pinfo-color.patch Thu Feb 19 21:10:06 2009
@@ -0,0 +1,11 @@
+--- pinfo-0.6.9/src/parse_config.c.stary 2009-02-19 20:48:09.000000000 +0100
++++ pinfo-0.6.9/src/parse_config.c 2009-02-19 20:51:32.000000000 +0100
+@@ -816,6 +816,8 @@ parse_line(char *line)
+ *p = BOLD;
+ else if (!(strncmp(temp, "NO_BLINK", 7)))
+ *p = 0;
++ else if (!(strncmp(temp, "COLOR", 5)))
++ *p = atoi(temp + 5);
+ else
+ return 1;
+ }
================================================================
More information about the pld-cvs-commit
mailing list