diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2018-05-08 11:02:50 +0200 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2018-05-09 15:33:15 +0200 |
commit | 889cfc2f5f9cb7bcef6a9512775f494f63a4d5ed (patch) | |
tree | 56db33bd5525ed9e5fec908f3340a54f957a9ce8 /source | |
parent | 241ead28d9709ca6c442c9bd1ed02c029dee4b12 (diff) | |
download | mupdf-889cfc2f5f9cb7bcef6a9512775f494f63a4d5ed.tar.xz |
Fix windows: strsep is missing on MSVC, use fz_strsep instead.
Diffstat (limited to 'source')
-rw-r--r-- | source/tools/pdfshow.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/tools/pdfshow.c b/source/tools/pdfshow.c index 08ed1b55..2aae7496 100644 --- a/source/tools/pdfshow.c +++ b/source/tools/pdfshow.c @@ -249,7 +249,7 @@ static void showpath(char *sel) pdf_obj *obj = NULL; int pages = 0; char *part; - while ((part = strsep(&sel, SEP)) != NULL) + while ((part = fz_strsep(&sel, SEP)) != NULL) { if (strlen(part) == 0) continue; |