summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--fitz/image_png.c2
-rw-r--r--fitz/res_pixmap.c4
-rw-r--r--pdf/pdf_xref_aux.c2
3 files changed, 4 insertions, 4 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);
diff --git a/pdf/pdf_xref_aux.c b/pdf/pdf_xref_aux.c
index 2d760334..907e6f17 100644
--- a/pdf/pdf_xref_aux.c
+++ b/pdf/pdf_xref_aux.c
@@ -3,7 +3,7 @@
/*
These functions have been split out of pdf_xref.c to allow tools
- to be linked without pulling in the interpreter. The interpreter
+ to be linked without pulling in the interpreter. The interpreter
references the built-in font and cmap resources which are quite
big. Not linking those into the tools saves roughly 6MB in the
resulting executables.