initialize rowstride to zero; it's meaningless as long as data is NULL.
2007-03-29 Sven Neumann <sven@gimp.org> * libgimp/gimppixelrgn.c (gimp_pixel_rgn_init): initialize rowstride to zero; it's meaningless as long as data is NULL. svn path=/trunk/; revision=22191
This commit is contained in:

committed by
Sven Neumann

parent
e7777475f2
commit
49beee20d2
@ -1,3 +1,8 @@
|
||||
2007-03-29 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* libgimp/gimppixelrgn.c (gimp_pixel_rgn_init): initialize
|
||||
rowstride to zero; it's meaningless as long as data is NULL.
|
||||
|
||||
2007-03-28 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* app/pdb/layer_cmds.c
|
||||
|
@ -140,7 +140,7 @@ gimp_pixel_rgn_init (GimpPixelRgn *pr,
|
||||
pr->data = NULL;
|
||||
pr->drawable = drawable;
|
||||
pr->bpp = drawable->bpp;
|
||||
pr->rowstride = pr->bpp * TILE_WIDTH;
|
||||
pr->rowstride = 0;
|
||||
pr->x = x;
|
||||
pr->y = y;
|
||||
pr->w = width;
|
||||
|
Reference in New Issue
Block a user