diff options
-rw-r--r-- | fitz/filt_faxd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fitz/filt_faxd.c b/fitz/filt_faxd.c index 927bf4c4..7ccebddb 100644 --- a/fitz/filt_faxd.c +++ b/fitz/filt_faxd.c @@ -211,7 +211,7 @@ find_changing_color(const unsigned char *line, int x, int w, int color) if (!line) return w; - x = find_changing(line, x, w); + x = find_changing(line, (x > 0 || !color) ? x : -1, w); if (x < w && getbit(line, x) != color) x = find_changing(line, x, w); |