diff options
author | Tor Andersson <tor@ghostscript.com> | 2008-06-30 22:20:07 +0200 |
---|---|---|
committer | Tor Andersson <tor@ghostscript.com> | 2008-06-30 22:20:07 +0200 |
commit | 903bea53592ae7ae72bc6cdb3c8f624dca66aa79 (patch) | |
tree | 9ba2e2c47220420f0a90211fdce5dc5172120b12 /raster | |
parent | fa526ed269a795c099d8d906c36a53ebadb6560b (diff) | |
download | mupdf-903bea53592ae7ae72bc6cdb3c8f624dca66aa79.tar.xz |
Whitespace fix.
Diffstat (limited to 'raster')
-rw-r--r-- | raster/render.c | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/raster/render.c b/raster/render.c index 94438327..d2532971 100644 --- a/raster/render.c +++ b/raster/render.c @@ -453,23 +453,23 @@ DEBUG("image %dx%d %d+%d %s\n{\n", image->w, image->h, image->n, image->a, image DEBUG(" load image\n"); - error = fz_newpixmap(&tile, 0, 0, image->w, image->h, image->n + 1); - if (error) - return error; - - error = image->loadtile(image, tile); - if (error) - goto cleanup; + error = fz_newpixmap(&tile, 0, 0, image->w, image->h, image->n + 1); + if (error) + return error; - if (dx != 1 || dy != 1) - { -DEBUG(" scale image 1/%d 1/%d\n", dx, dy); - error = fz_scalepixmap(&temp, tile, dx, dy); + error = image->loadtile(image, tile); if (error) goto cleanup; - fz_droppixmap(tile); - tile = temp; - } + + if (dx != 1 || dy != 1) + { +DEBUG(" scale image 1/%d 1/%d\n", dx, dy); + error = fz_scalepixmap(&temp, tile, dx, dy); + if (error) + goto cleanup; + fz_droppixmap(tile); + tile = temp; + } } if (image->cs && image->cs != gc->model) |