summaryrefslogtreecommitdiff
path: root/src/string_vec.h
diff options
context:
space:
mode:
authorPhil Jones <philj56@gmail.com>2022-07-26 22:57:09 +0100
committerPhil Jones <philj56@gmail.com>2022-07-26 23:28:58 +0100
commitbb80769bfdf2efcbf000bf838feaee0c1b31183d (patch)
tree7ad91906bfee433bc5cb891fd65ab7a1d048150f /src/string_vec.h
parent508c90ba3ff7b0e25779452a3633c0e09f413adc (diff)
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.
Diffstat (limited to 'src/string_vec.h')
-rw-r--r--src/string_vec.h2
1 files changed, 1 insertions, 1 deletions
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;
};