aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Gavin <danielgavin5@hotmail.com>2021-12-05 16:55:59 +0100
committerDaniel Gavin <danielgavin5@hotmail.com>2021-12-05 16:55:59 +0100
commit40f45aa7568b664d9bfc5b1d89e47e46104af2b5 (patch)
tree6e65ec0b5d9b46c60cf34594109db7de0511a539
parent6ef409e75de2d3cbb0aef2dd19e4f32a5454941d (diff)
brain fart
-rw-r--r--src/index/memory_index.odin2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/index/memory_index.odin b/src/index/memory_index.odin
index 1e60ec7..e946811 100644
--- a/src/index/memory_index.odin
+++ b/src/index/memory_index.odin
@@ -55,7 +55,7 @@ memory_index_fuzzy_search :: proc(index: ^MemoryIndex, name: string, pkgs: []str
}
sort.sort(fuzzy_sort_interface(&symbols));
- strings.clone_to_cstring
+
if name == "" {
return symbols[:], true;
} else {