diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2016-06-01 16:06:20 +0200 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2016-06-06 14:53:23 +0200 |
commit | 6df3706d77b2db7368313693e9a45307320e1253 (patch) | |
tree | cc05a67e1d27471d5d2a44baffe396f95fd03342 | |
parent | cc1fd2ff2a440a7fdb2a30ef66aba31043c4ba92 (diff) | |
download | mupdf-6df3706d77b2db7368313693e9a45307320e1253.tar.xz |
Update MuJS.
-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 |