From 18b1a5077f7405fd4971d41391caeff5a685048e Mon Sep 17 00:00:00 2001 From: jlnorskdatateknikk <136071050+jlnorskdatateknikk@users.noreply.github.com> Date: Mon, 17 Jul 2023 12:45:34 +0200 Subject: [PATCH] Fix spelling error "distnaces" --- dec/decode.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dec/decode.js b/dec/decode.js index 7b2aa77..21102c9 100644 --- a/dec/decode.js +++ b/dec/decode.js @@ -854,7 +854,7 @@ function BrotliDecompress(input, output) { } /* Convert the distance code to the actual distance by possibly looking */ - /* up past distnaces from the ringbuffer. */ + /* up past distances from the ringbuffer. */ distance = TranslateShortCodes(distance_code, dist_rb, dist_rb_idx); if (distance < 0) { throw new Error('[BrotliDecompress] invalid distance');