Date: | 2016-08-23 04:20:58 (7 years 3 months ago) |
---|---|
Author: | Werner Almesberger |
Commit: | 44e17ff5ab5a83dae6aadad26838ccc48e626265 |
Message: | eeshow/gfx/pdftoc.c (line): don't be fooled by "/Type
/Pages" We really ought to test properly for end-of-word, not rely on prefixes. |
Files: |
eeshow/gfx/pdftoc.c (1 diff) |
Change Details
eeshow/gfx/pdftoc.c | ||
---|---|---|
153 | 153 | ctx->state = idle; |
154 | 154 | break; |
155 | 155 | } |
156 | if (strbegins(s, "<< /Type /Page")) { | |
156 | if (strbegins(s, "<< /Type /Page") && | |
157 | !strbegins(s, "<< /Type /Pages")) { | |
157 | 158 | ctx->curr_obj->is_page = 1; |
158 | 159 | break; |
159 | 160 | } |
Branches:
master