fixed calculator infobox showing up when it shouldn't on decimals
This commit is contained in:
parent
7ce0283276
commit
26e3403e03
1 changed files with 1 additions and 1 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue