diff options
author | Sebastian Geerken <devnull@localhost> | 2012-11-15 21:27:45 +0100 |
---|---|---|
committer | Sebastian Geerken <devnull@localhost> | 2012-11-15 21:27:45 +0100 |
commit | c8191ef0e9a949b990e6f4d155dcddae79cff46c (patch) | |
tree | a4388eb2f1d6a872e5d2fcaa3d7abf3666ef1798 /dw/textblock_linebreaking.cc | |
parent | a940db1461814764bdcebf0a22a729a8a193b7f8 (diff) |
Simple bug fix.
Diffstat (limited to 'dw/textblock_linebreaking.cc')
-rw-r--r-- | dw/textblock_linebreaking.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dw/textblock_linebreaking.cc b/dw/textblock_linebreaking.cc index e2130b00..47027194 100644 --- a/dw/textblock_linebreaking.cc +++ b/dw/textblock_linebreaking.cc @@ -107,7 +107,7 @@ void Textblock::BadnessAndPenalty::setPenalties (int penalty1, int penalty2) { // TODO Check here some cases, e.g. both or no penalty INT_MIN. setSinglePenalty(0, penalty1); - setSinglePenalty(1, penalty1); + setSinglePenalty(1, penalty2); } void Textblock::BadnessAndPenalty::setSinglePenalty (int index, int penalty) |