Skip to content

Commit

Permalink
buffer: fix gegl_buffer_set_color
Browse files Browse the repository at this point in the history
  • Loading branch information
hodefoting committed Mar 15, 2012
1 parent b42348f commit d0096a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gegl/buffer/gegl-buffer-access.c
Expand Up @@ -1248,7 +1248,7 @@ void gegl_buffer_set_color (GeglBuffer *dst,
{
int j;
for (j = 0; j < i->length; j++)
memcpy (((guchar*)(i->data[j * pxsize])), buf, pxsize);
memcpy (((guchar*)(i->data[0])) + pxsize * j, buf, pxsize);
}
}

Expand Down

0 comments on commit d0096a5

Please sign in to comment.