aboutsummaryrefslogtreecommitdiff
path: root/src/Routes/Search.c
diff options
context:
space:
mode:
authorfrosty <gabriel@bwaaa.monster>2026-02-26 09:25:44 -0500
committerfrosty <gabriel@bwaaa.monster>2026-02-26 09:25:44 -0500
commit26e3403e039d1a80f2e62f8efe889ad5f40c8cee (patch)
tree51e672aba96ccc719a35a81cbd302e063cebf68e /src/Routes/Search.c
parent7ce0283276144fcdfcdab13cc87debcbf899e3fe (diff)
downloadomnisearch-26e3403e039d1a80f2e62f8efe889ad5f40c8cee.tar.gz
fixed calculator infobox showing up when it shouldn't on decimals
Diffstat (limited to 'src/Routes/Search.c')
-rw-r--r--src/Routes/Search.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Routes/Search.c b/src/Routes/Search.c
index 4e8c7ad..060a222 100644
--- a/src/Routes/Search.c
+++ b/src/Routes/Search.c
@@ -49,7 +49,7 @@ static int is_calculator_query(const char *query) {
}
}
- return has_digit && (has_operator || strchr(query, '.'));
+ return has_digit && has_operator;
}
static void *calc_thread_func(void *arg) {