summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibGUI/INISyntaxHighlighter.cpp
diff options
context:
space:
mode:
authorLinus Groh <mail@linusgroh.de>2021-03-20 13:43:42 +0100
committerAndreas Kling <kling@serenityos.org>2021-03-21 09:35:47 +0100
commitae95ed5ddd5e7ab2b9cc32d78a0761747f229b5f (patch)
tree78f0a5fd58cfaf4dd69e744cf9c5d443ad73f274 /Userland/Libraries/LibGUI/INISyntaxHighlighter.cpp
parent611b3c2c490f99e5513d32e0f974f242a731bba9 (diff)
downloadserenity-ae95ed5ddd5e7ab2b9cc32d78a0761747f229b5f.zip
LibJS: Append first sparse element to packed elements in take_first()
Otherwise we continuously lose the first sparse element (at index SPARSE_ARRAY_THRESHOLD) without noticing, as we overwrite all indices with the value at index+1. Fixes #5884.
Diffstat (limited to 'Userland/Libraries/LibGUI/INISyntaxHighlighter.cpp')
0 files changed, 0 insertions, 0 deletions