summaryrefslogtreecommitdiff
path: root/render/pixmap.c
diff options
context:
space:
mode:
authorTor Andersson <tor@ghostscript.com>2005-04-04 08:58:34 +0200
committerTor Andersson <tor@ghostscript.com>2005-04-04 08:58:34 +0200
commit0ba6f06f3e2cebf7cf519ce38dc8fdfe34734603 (patch)
treee70c5004059dbc4d8fdd245832e441b930fd86cc /render/pixmap.c
parentfb2db10b9760e7692ef16b4cf70bfae188b836af (diff)
downloadmupdf-0ba6f06f3e2cebf7cf519ce38dc8fdfe34734603.tar.xz
rename rect fields to x0 y0 x1 y1
Diffstat (limited to 'render/pixmap.c')
-rw-r--r--render/pixmap.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/render/pixmap.c b/render/pixmap.c
index 4e6823d9..8f34ebcd 100644
--- a/render/pixmap.c
+++ b/render/pixmap.c
@@ -28,9 +28,9 @@ fz_error *
fz_newpixmapwithrect(fz_pixmap **pixp, fz_irect r, int n)
{
return fz_newpixmap(pixp,
- r.min.x, r.min.y,
- r.max.x - r.min.x,
- r.max.y - r.min.y, n);
+ r.x0, r.y0,
+ r.x1 - r.x0,
+ r.y1 - r.y0, n);
}
fz_error *