summaryrefslogtreecommitdiff
path: root/source/fitz/paint-glyph.h
diff options
context:
space:
mode:
authorRobin Watts <robin.watts@artifex.com>2016-05-28 18:14:45 +0100
committerRobin Watts <robin.watts@artifex.com>2016-05-30 16:08:47 +0100
commitba5dd08df9b477dbfa5ee9b2c5b56f41dfa8bc85 (patch)
tree64cc68bfae52ef7756dfe9075b8bb97b6c924feb /source/fitz/paint-glyph.h
parent19c07d7c1f11e428dc3fcc8222802bf58efbe00d (diff)
downloadmupdf-ba5dd08df9b477dbfa5ee9b2c5b56f41dfa8bc85.tar.xz
Add config.h include file.
Introduce FZ_PLOTTER defines to set which defines we required. Add FZ_ENABLE define to set which document handlers are built by default.
Diffstat (limited to 'source/fitz/paint-glyph.h')
-rw-r--r--source/fitz/paint-glyph.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/fitz/paint-glyph.h b/source/fitz/paint-glyph.h
index 824adaf2..748e6b19 100644
--- a/source/fitz/paint-glyph.h
+++ b/source/fitz/paint-glyph.h
@@ -44,6 +44,7 @@ FUNCTION_NAME(NAME,N,NAME2)(const unsigned char * restrict colorbv,
const uint32_t color = *(const uint32_t *)colorbv;
#endif
#endif
+ TRACK_FN();
while (h--)
{
int skip_xx, ww, len, extend;
@@ -169,7 +170,7 @@ solid_run:
*ddp = FZ_BLEND(colorbv[k++], *ddp, sa);
ddp++;
}
- while (k != n);
+ while (k != n1);
#ifdef DA
*ddp = FZ_BLEND(0xFF, *ddp, sa);
ddp++;