diff --git a/src/textord/tordmain.cpp b/src/textord/tordmain.cpp index 719ed0e25f..50b484dd05 100644 --- a/src/textord/tordmain.cpp +++ b/src/textord/tordmain.cpp @@ -533,8 +533,8 @@ bool Textord::clean_noise_from_row( // remove empties } } } - bool rejected = dot_count > norm_count * textord_noise_normratio && \ - dot_count > 2 && \ + bool rejected = dot_count > norm_count * textord_noise_normratio && + dot_count > 2 && super_norm_count < textord_noise_sncount; if (textord_noise_debug) { tprintf("Row ending at (%d,%g):", blob_box.right(), row->base_line(blob_box.right()));