From f69af96dbe51cbcd35c0e06c5212ffc53a329576 Mon Sep 17 00:00:00 2001 From: DevelopAlex Date: Mon, 24 Sep 2018 11:43:47 +0200 Subject: [PATCH] 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. --- src/textord/makerow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/textord/makerow.cpp b/src/textord/makerow.cpp index d447faac1f..7fb5c04333 100644 --- a/src/textord/makerow.cpp +++ b/src/textord/makerow.cpp @@ -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 ());