Skip to content

Commit c388c0c

Browse files
committed
Add some missing format specifiers to format strings
There was a mismatch of the number of format specifiers and the number of arguments. Signed-off-by: Stefan Weil <[email protected]>
1 parent 3ed36ff commit c388c0c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

textord/colpartition.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1527,7 +1527,7 @@ void ColPartition::LineSpacingBlocks(const ICOORD& bleft, const ICOORD& tright,
15271527
} else {
15281528
if (textord_debug_tabfind && !it.empty()) {
15291529
ColPartition* next_part = it.data();
1530-
tprintf("Spacings equal: upper:%d/%d, lower:%d/%d\n",
1530+
tprintf("Spacings equal: upper:%d/%d, lower:%d/%d, median:%d/%d\n",
15311531
part->top_spacing(), part->bottom_spacing(),
15321532
next_part->top_spacing(), next_part->bottom_spacing(),
15331533
part->median_size(), next_part->median_size());

textord/tospace.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1686,7 +1686,7 @@ void Textord::mark_gap(
16861686
blob.bottom () + blob.height () / 2.0f);
16871687
}
16881688
if (tosp_debug_level > 5)
1689-
tprintf (" (%d,%d) Sp<->Kn Rule %d %d %d %d %d\n",
1689+
tprintf (" (%d,%d) Sp<->Kn Rule %d %d %d %d %d %d\n",
16901690
blob.left () - current_gap / 2, blob.bottom (), rule,
16911691
prev_gap, prev_blob_width, current_gap,
16921692
next_blob_width, next_gap);

0 commit comments

Comments
 (0)