diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2017-02-21 16:24:15 +0100 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2017-02-21 16:46:43 +0100 |
commit | c109362f27679a5b8e56696292d96f9b067691ce (patch) | |
tree | d906a4e92763012c1ebfef87331a9746e6980f5a /source/tools/murun.c | |
parent | 273effeec2469a97998c7d2c0147007e6bb04bf2 (diff) | |
download | mupdf-c109362f27679a5b8e56696292d96f9b067691ce.tar.xz |
Fix typo in ffi_PDFAnnotation_setColor.
Diffstat (limited to 'source/tools/murun.c')
-rw-r--r-- | source/tools/murun.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/tools/murun.c b/source/tools/murun.c index 90b7cd17..25fd0d39 100644 --- a/source/tools/murun.c +++ b/source/tools/murun.c @@ -3939,7 +3939,7 @@ static void ffi_PDFAnnotation_setColor(js_State *J) if (n != 0 && n != 1 && n != 3 && n != 4) js_error(J, "color must be 0, 1, 3, or 4 components"); for (i = 0; i < n; ++i) { - js_getindex(J, 1, 0); + js_getindex(J, 1, i); color[i] = js_tonumber(J, -1); js_pop(J, 1); } |