Skip to content

Commit

Permalink
Only print "Merging rows..." in debug mode
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
alexander-esser authored Sep 24, 2018
1 parent ea007d5 commit f69af96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/textord/makerow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 ());
Expand Down

0 comments on commit f69af96

Please sign in to comment.