diff options
Diffstat (limited to 'fitz')
-rw-r--r-- | fitz/dev_text.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fitz/dev_text.c b/fitz/dev_text.c index b92372a1..bb6aaac9 100644 --- a/fitz/dev_text.c +++ b/fitz/dev_text.c @@ -303,6 +303,7 @@ fz_text_extract(fz_context *ctx, fz_text_device *dev, fz_text *text, fz_matrix c float descender = 0; int multi; int i, j, err; + int lastchar = ' '; if (text->len == 0) return; @@ -342,8 +343,6 @@ fz_text_extract(fz_context *ctx, fz_text_device *dev, fz_text *text, fz_matrix c size = fz_matrix_expansion(trm); - int lastchar = ' '; - for (i = 0; i < text->len; i++) { /* Calculate new pen location and delta */ |