Skip to content

Commit f69af96

Browse files
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.
1 parent ea007d5 commit f69af96

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/textord/makerow.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -2519,7 +2519,7 @@ OVERLAP_STATE most_overlapping_row( //find best row
25192519
test_row->min_y () <
25202520
row->min_y ()? test_row->min_y () : row->min_y ();
25212521
if (merge_top - merge_bottom <= rowsize) {
2522-
if (testing_blob) {
2522+
if (testing_blob && textord_debug_blob) {
25232523
tprintf ("Merging rows at (%g,%g), (%g,%g)\n",
25242524
row->min_y (), row->max_y (),
25252525
test_row->min_y (), test_row->max_y ());

0 commit comments

Comments
 (0)