Kaynağa Gözat

fixed calculator infobox showing up when it shouldn't on decimals

frosty 2 hafta önce
ebeveyn
işleme
26e3403e03
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      src/Routes/Search.c

+ 1 - 1
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) {