This commit is contained in:
Robin Stuart 2016-07-23 19:17:53 +01:00
parent 7eaa82bfa1
commit b968073d71

View File

@ -106,7 +106,7 @@ int pcx_pixel_plot(struct zint_symbol *symbol, int image_height, int image_width
case 0: /* Plot the right way up */ case 0: /* Plot the right way up */
for (row = 0; row < image_height; row++) { for (row = 0; row < image_height; row++) {
for (column = 0; column < image_width; column++) { for (column = 0; column < image_width; column++) {
rotated_bitmap[(row * symbol->bitmap_width) + column] = rotated_bitmap[(row * image_width) + column] =
*(pixelbuf + (image_width * row) + column); *(pixelbuf + (image_width * row) + column);
} }
} }