mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 07:30:19 +00:00
parent
a43d9c4fe0
commit
29ef65c458
Notes:
sideshowbarker
2024-07-19 02:20:31 +09:00
Author: https://github.com/alimpfard Commit: https://github.com/SerenityOS/serenity/commit/29ef65c4586 Pull-request: https://github.com/SerenityOS/serenity/pull/3533 Issue: https://github.com/SerenityOS/serenity/issues/3530
1 changed files with 1 additions and 1 deletions
|
@ -1047,7 +1047,7 @@ void Shell::add_entry_to_cache(const String& entry)
|
|||
if (match)
|
||||
return;
|
||||
|
||||
while (strcmp(cached_path[index].characters(), entry.characters()) < 0) {
|
||||
while (index < cached_path.size() && strcmp(cached_path[index].characters(), entry.characters()) < 0) {
|
||||
index++;
|
||||
}
|
||||
cached_path.insert(index, entry);
|
||||
|
|
Loading…
Reference in a new issue