diff options
author | Robin Watts <robin.watts@artifex.com> | 2017-11-08 13:05:11 +0000 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2017-11-08 13:05:50 +0000 |
commit | 148341aff5bdc2678239383001328fa8010f2fe9 (patch) | |
tree | 7e26812caa86c573a7398136354a2b059cae8d23 /source/fitz/output-tga.c | |
parent | 3119f69dd9536cdaab0719fba2898be894e8fc01 (diff) | |
download | mupdf-148341aff5bdc2678239383001328fa8010f2fe9.tar.xz |
Fix TGA banded operation.
Also, fix mudraw messages about what types can be banded.
Diffstat (limited to 'source/fitz/output-tga.c')
-rw-r--r-- | source/fitz/output-tga.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/fitz/output-tga.c b/source/fitz/output-tga.c index 0e7a213c..20d9983e 100644 --- a/source/fitz/output-tga.c +++ b/source/fitz/output-tga.c @@ -125,7 +125,7 @@ tga_write_band(fz_context *ctx, fz_band_writer *writer_, int stride, int band_st int is_bgr = writer->is_bgr; int k; - for (k = 0; k < h; k++) + for (k = 0; k < band_height; k++) { int i, j; const unsigned char *line = samples + stride * k; |