From 889cfc2f5f9cb7bcef6a9512775f494f63a4d5ed Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Tue, 8 May 2018 11:02:50 +0200 Subject: Fix windows: strsep is missing on MSVC, use fz_strsep instead. --- source/tools/pdfshow.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source') 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; -- cgit v1.2.3