]>
Commit | Line | Data |
---|---|---|
fa1a3600 AM |
1 | --- WindowMaker-0.92.0/wrlib/nxpm.c~ 2004-10-12 20:21:53.000000000 +0200 |
2 | +++ WindowMaker-0.92.0/wrlib/nxpm.c 2013-11-07 13:40:23.762829654 +0100 | |
3 | @@ -644,9 +644,9 @@ | |
4 | if (!a || *a>127) { | |
5 | tmpc = lookfor(colormap, (unsigned)*r<<16|(unsigned)*g<<8|(unsigned)*b); | |
6 | ||
7 | - fprintf(file, index2str(buf, tmpc->index, charsPerPixel)); | |
8 | + fprintf(file, "%s", index2str(buf, tmpc->index, charsPerPixel)); | |
9 | } else { | |
10 | - fprintf(file, transp); | |
11 | + fprintf(file, "%s", transp); | |
12 | } | |
13 | ||
14 | if (a) { |