/[packages]/cauldron/WindowMaker/current/SOURCES/WindowMaker-0.92.0-wformat-fixes.patch
ViewVC logotype

Contents of /cauldron/WindowMaker/current/SOURCES/WindowMaker-0.92.0-wformat-fixes.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 57463 - (show annotations) (download)
Wed Feb 23 16:02:32 2011 UTC (13 years, 2 months ago) by ahmad
File size: 592 byte(s)
imported package WindowMaker
1 Index: wrlib/nxpm.c
2 ===================================================================
3 --- wrlib/nxpm.c
4 +++ wrlib/nxpm.c 2009-05-19 11:53:54.000000000 +0200
5 @@ -644,9 +644,9 @@
6 if (!a || *a>127) {
7 tmpc = lookfor(colormap, (unsigned)*r<<16|(unsigned)*g<<8|(unsigned)*b);
8
9 - fprintf(file, index2str(buf, tmpc->index, charsPerPixel));
10 + fputs(index2str(buf, tmpc->index, charsPerPixel), file);
11 } else {
12 - fprintf(file, transp);
13 + fputs(transp, file);
14 }
15
16 if (a) {

  ViewVC Help
Powered by ViewVC 1.1.30