projects
/
geeqie
/
xcf-pixbuf-loader.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
196cca0
)
honor the offset layer property
author
Stephane Delcroix
<stephane@delcroix.org>
Sun, 1 Mar 2009 12:28:11 +0000
(13:28 +0100)
committer
Stephane Delcroix
<stephane@delcroix.org>
Sun, 1 Mar 2009 12:28:11 +0000
(13:28 +0100)
io-xcf.c
patch
|
blob
|
history
diff --git
a/io-xcf.c
b/io-xcf.c
index
272f750
..
376dab8
100644
(file)
--- a/
io-xcf.c
+++ b/
io-xcf.c
@@
-490,7
+490,7
@@
xcf_image_load_real (FILE *f, XcfContext *context, GError **error)
rle_decode (f, pixels, tw*th, layer->type);
- int origin = 4 *
ox + rowstride * oy
;
+ int origin = 4 *
(ox + layer->dx) + rowstride * (oy + layer->dy)
;
int j;
for (j=0; j<th;j++) {