From 65118b2e3a077a1a690c27a07145b0bdd969d38b Mon Sep 17 00:00:00 2001 From: Egor Pugin Date: Tue, 4 May 2021 16:12:40 +0300 Subject: [PATCH] [misc] Fix variable type. Fixes warning. --- src/wordrec/chop.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wordrec/chop.cpp b/src/wordrec/chop.cpp index 7ce54132..78a04240 100644 --- a/src/wordrec/chop.cpp +++ b/src/wordrec/chop.cpp @@ -136,7 +136,7 @@ int Wordrec::angle_change(EDGEPT *point1, EDGEPT *point2, EDGEPT *point3) { EDGEPT *Wordrec::pick_close_point(EDGEPT *critical_point, EDGEPT *vertical_point, int *best_dist) { EDGEPT *best_point = nullptr; int this_distance; - int found_better; + bool found_better; do { found_better = false;