diff options
-rw-r--r-- | source/tools/murun.c | 2 | ||||
m--------- | thirdparty/mujs | 0 |
2 files changed, 1 insertions, 1 deletions
diff --git a/source/tools/murun.c b/source/tools/murun.c index 52df9a79..5c724082 100644 --- a/source/tools/murun.c +++ b/source/tools/murun.c @@ -2380,7 +2380,7 @@ static void ffi_pushobj(js_State *J, pdf_obj *obj) static void ffi_new_PDFDocument(js_State *J) { fz_context *ctx = js_getcontext(J); - const char *filename = js_isstring(J, 1) ? js_tostring(J, 1) : NULL; + const char *filename = js_iscoercible(J, 1) ? js_tostring(J, 1) : NULL; pdf_document *pdf = NULL; fz_try(ctx) diff --git a/thirdparty/mujs b/thirdparty/mujs -Subproject 1930f35933654d02234249b8c9b8c0d1c8c9fb6 +Subproject c596dd58c3ccb85a3b1ce75512975d6f38133cd |