diff options
Diffstat (limited to 'src')
| -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) { |
