From 2e6e328006d505e4a0eeb52ad091c9b17dae2ce3 Mon Sep 17 00:00:00 2001 From: Spiros Eliopoulos Date: Sat, 10 Feb 2018 21:55:54 +0000 Subject: [PATCH] js-annot: fix dstoff -> dst_off typo --- lib/runtime.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/runtime.js b/lib/runtime.js index 3ab9c68..bdff249 100644 --- a/lib/runtime.js +++ b/lib/runtime.js @@ -51,6 +51,6 @@ function angstrom_bigstring_blit_to_bigstring(src, src_off, dst, dst_off, len) { //Requires: caml_ba_set_1, string_unsafe_get function angstrom_bigstring_blit_from_bytes(src, src_off, dst, dst_off, len) { for (var i = 0; i < len; i++) { - caml_ba_set_1(dst, dstoff + i, string_unsafe_get(src, src_off + i)); + caml_ba_set_1(dst, dst_off + i, string_unsafe_get(src, src_off + i)); } }