Only print "Merging rows..." in debug mode

Only print "Merging rows..." if textord_debug_blob==true (like all the other debug messages).
Otherwise, there are a lot of "Merging rows..." messages in console output.
This commit is contained in:
DevelopAlex 2018-09-24 11:43:47 +02:00 committed by GitHub
parent ea007d5b33
commit f69af96dbe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2519,7 +2519,7 @@ OVERLAP_STATE most_overlapping_row( //find best row
test_row->min_y () <
row->min_y ()? test_row->min_y () : row->min_y ();
if (merge_top - merge_bottom <= rowsize) {
if (testing_blob) {
if (testing_blob && textord_debug_blob) {
tprintf ("Merging rows at (%g,%g), (%g,%g)\n",
row->min_y (), row->max_y (),
test_row->min_y (), test_row->max_y ());