1
0
mirror of https://github.com/gryf/wmaker.git synced 2026-01-04 04:44:16 +01:00

Fix format strings

This commit is contained in:
Tamas TEVESZ
2008-12-26 08:38:18 +01:00
committed by Carlos R. Mafra
parent 01dddf00c8
commit f893728d2d

View File

@@ -642,9 +642,9 @@ Bool RSaveXPM(RImage * image, char *filename)
if (!a || *a > 127) {
tmpc = lookfor(colormap, (unsigned)*r << 16 | (unsigned)*g << 8 | (unsigned)*b);
fprintf(file, index2str(buf, tmpc->index, charsPerPixel));
fprintf(file, "%s", index2str(buf, tmpc->index, charsPerPixel));
} else {
fprintf(file, transp);
fprintf(file, "%s", transp);
}
if (a) {