Commit 34485cff authored by Michael Natterer's avatar Michael Natterer 😴

plug-ins: don't say for(int x...) in file-pcx.c

parent 5c8c3011
......@@ -937,10 +937,11 @@ save_less_than_8 (FILE *fp,
gint count = 0;
guchar byte_to_write = 0x00;
guchar *line;
gint x;
line = (guchar *) g_malloc (((width + 7) / 8) * bpp);
for (gint x = 0; x < buf_size; x++)
for (x = 0; x < buf_size; x++)
{
byte_to_write |= (buf[x] << j);
j -= bpp;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment