aboutsummaryrefslogtreecommitdiff
path: root/dw/textblock_linebreaking.cc
diff options
context:
space:
mode:
authorSebastian Geerken <devnull@localhost>2014-04-04 22:13:19 +0200
committerSebastian Geerken <devnull@localhost>2014-04-04 22:13:19 +0200
commitbb7f093a9cf296e8cf4ce77d2a17eb8e731960b1 (patch)
tree0479209358d815311cd69b1797f720ef54df7e97 /dw/textblock_linebreaking.cc
parent54a86cae9079882c161c6a7f679966cec24dae9d (diff)
Fixed confusion of bool and bool* (caused endless loop).
Diffstat (limited to 'dw/textblock_linebreaking.cc')
-rw-r--r--dw/textblock_linebreaking.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/dw/textblock_linebreaking.cc b/dw/textblock_linebreaking.cc
index 268068c8..b6546624 100644
--- a/dw/textblock_linebreaking.cc
+++ b/dw/textblock_linebreaking.cc
@@ -890,7 +890,7 @@ void Textblock::balanceBreakPosAndHeight (int wordIndex, int firstIndex,
int newBreakPos =
searchBreakPos (wordIndex, firstIndex, searchUntil,
tempNewLine, penaltyIndex,
- thereWillBeMoreSpace, wrapAll,
+ *thereWillBeMoreSpace, wrapAll,
wordListChanged, wordIndexEnd);
int newHeight = calcLinePartHeight (firstIndex, newBreakPos);