summaryrefslogtreecommitdiff
path: root/source/tools
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2018-05-08 11:02:50 +0200
committerTor Andersson <tor.andersson@artifex.com>2018-05-09 15:33:15 +0200
commit889cfc2f5f9cb7bcef6a9512775f494f63a4d5ed (patch)
tree56db33bd5525ed9e5fec908f3340a54f957a9ce8 /source/tools
parent241ead28d9709ca6c442c9bd1ed02c029dee4b12 (diff)
downloadmupdf-889cfc2f5f9cb7bcef6a9512775f494f63a4d5ed.tar.xz
Fix windows: strsep is missing on MSVC, use fz_strsep instead.
Diffstat (limited to 'source/tools')
-rw-r--r--source/tools/pdfshow.c2
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;