diff options
| author | frosty <gabriel@bwaaa.monster> | 2026-02-26 09:25:44 -0500 |
|---|---|---|
| committer | frosty <gabriel@bwaaa.monster> | 2026-02-26 09:25:44 -0500 |
| commit | 26e3403e039d1a80f2e62f8efe889ad5f40c8cee (patch) | |
| tree | 51e672aba96ccc719a35a81cbd302e063cebf68e | |
| parent | 7ce0283276144fcdfcdab13cc87debcbf899e3fe (diff) | |
| download | omnisearch-26e3403e039d1a80f2e62f8efe889ad5f40c8cee.tar.gz | |
fixed calculator infobox showing up when it shouldn't on decimals
| -rw-r--r-- | src/Routes/Search.c | 2 |
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) { |
