aboutsummaryrefslogtreecommitdiff
path: root/dw/textblock_linebreaking.cc
diff options
context:
space:
mode:
authorSebastian Geerken <devnull@localhost>2012-12-26 23:31:48 +0100
committerSebastian Geerken <devnull@localhost>2012-12-26 23:31:48 +0100
commit0fd50733406a44168f174491e82e21add6537a0f (patch)
tree81930d4c0d515bab4039948c0dcdc4592e7c0af9 /dw/textblock_linebreaking.cc
parentb2bda3547d88022b29764ecc8e77458cf5f23a9b (diff)
Corrected debug messages.
Diffstat (limited to 'dw/textblock_linebreaking.cc')
-rw-r--r--dw/textblock_linebreaking.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/dw/textblock_linebreaking.cc b/dw/textblock_linebreaking.cc
index e9200cdf..47c7fa00 100644
--- a/dw/textblock_linebreaking.cc
+++ b/dw/textblock_linebreaking.cc
@@ -189,11 +189,11 @@ void Textblock::BadnessAndPenalty::print ()
}
#ifdef DEBUG
- printf (" [%d + %d - %d vs. %d] + ",
+ printf (" [%d + %d - %d vs. %d]",
totalWidth, totalStretchability, totalShrinkability, idealWidth);
#endif
- printf ("(");
+ printf (" + (");
for (int i = 0; i < 2; i++) {
if (penalty[i] == INT_MIN)
printf ("-inf");