From bb80769bfdf2efcbf000bf838feaee0c1b31183d Mon Sep 17 00:00:00 2001 From: Phil Jones Date: Tue, 26 Jul 2022 22:57:09 +0100 Subject: Add keyword matching for drun searches. There's starting to be a fair amount of duplicated code between the drun and normal run modes. At some point in the future, it's likely to be worth combining them, such that there's only a single `struct search_item` or similar, and just handle the different modes at the start and end of execution. --- src/string_vec.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/string_vec.h') diff --git a/src/string_vec.h b/src/string_vec.h index 7fce96e..64b3d46 100644 --- a/src/string_vec.h +++ b/src/string_vec.h @@ -7,7 +7,7 @@ struct scored_string { char *string; - int8_t search_score; + int32_t search_score; int32_t history_score; }; -- cgit v1.2.3