summaryrefslogtreecommitdiff
path: root/fitz
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2012-06-18 21:06:51 +0200
committerTor Andersson <tor.andersson@artifex.com>2012-06-18 21:06:51 +0200
commita34c833606d15a9a77f390cf99c7598ae81374ba (patch)
tree254f5ef4366bb6d491c10d0493876bcb776cf9ee /fitz
parenta606f714258677688c67e9561b87cc70f9e9b6b0 (diff)
downloadmupdf-a34c833606d15a9a77f390cf99c7598ae81374ba.tar.xz
Fix indentation and white space errors.
Diffstat (limited to 'fitz')
-rw-r--r--fitz/image_png.c2
-rw-r--r--fitz/res_pixmap.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/fitz/image_png.c b/fitz/image_png.c
index 9e3f39c5..f28203ee 100644
--- a/fitz/image_png.c
+++ b/fitz/image_png.c
@@ -192,7 +192,7 @@ png_deinterlace(struct info *info, int *passw, int *passh, int *passofs)
for (p = 0; p < 7; p++)
{
- unsigned char *sp = info->samples + (unsigned int)(passofs[p]);
+ unsigned char *sp = info->samples + (unsigned int)(passofs[p]);
int w = passw[p];
int h = passh[p];
diff --git a/fitz/res_pixmap.c b/fitz/res_pixmap.c
index b7cf5f58..0fb3cdad 100644
--- a/fitz/res_pixmap.c
+++ b/fitz/res_pixmap.c
@@ -136,7 +136,7 @@ fz_pixmap_height(fz_context *ctx, fz_pixmap *pix)
void
fz_clear_pixmap(fz_context *ctx, fz_pixmap *pix)
{
- memset(pix->samples, 0, (unsigned int)(pix->w * pix->h * pix->n));
+ memset(pix->samples, 0, (unsigned int)(pix->w * pix->h * pix->n));
}
void
@@ -223,7 +223,7 @@ fz_copy_pixmap_rect(fz_context *ctx, fz_pixmap *dest, fz_pixmap *src, fz_bbox r)
for (x = w; x > 0; x--)
{
int v;
- v = *srcp++;
+ v = *srcp++;
v += *srcp++;
v += *srcp++;
*destp++ = (unsigned char)((v+1)/3);