wineps: Fix the output of indexed bitmaps in PutImage.

This commit is contained in:
Alexandre Julliard 2011-10-28 23:04:53 +02:00
parent 7df0245295
commit dd3721c0f9
1 changed files with 1 additions and 1 deletions

View File

@ -680,7 +680,7 @@ BOOL PSDRV_WriteRGBQUAD(PHYSDEV dev, const RGBQUAD *rgb, int number)
int i;
ptr = buf;
for(i = 0; i < number; i++)
for(i = 0; i < number; i++, rgb++)
ptr += sprintf(ptr, "%02x%02x%02x%c", rgb->rgbRed, rgb->rgbGreen, rgb->rgbBlue,
((i & 0x7) == 0x7) || (i == number - 1) ? '\n' : ' ');