diff options
| author | Simon Tatham <anakin@pobox.com> | 2017-05-14 08:28:30 +0100 |
|---|---|---|
| committer | Simon Tatham <anakin@pobox.com> | 2017-05-14 08:44:15 +0100 |
| commit | 72b1eb1cd3e6b07cdf93fb5f158cba21691b3052 (patch) | |
| tree | 6966247bc478a3789c81146a100c20ea996dc983 | |
| parent | c00d1c3b6003dbbb72439de0ebdb4a93c8763f65 (diff) | |
| download | halibut-72b1eb1cd3e6b07cdf93fb5f158cba21691b3052.zip halibut-72b1eb1cd3e6b07cdf93fb5f158cba21691b3052.tar.gz halibut-72b1eb1cd3e6b07cdf93fb5f158cba21691b3052.tar.bz2 halibut-72b1eb1cd3e6b07cdf93fb5f158cba21691b3052.tar.xz | |
Correct typo in initialisation in bk_paper.c.
If you initialise a structure field for the first time with += rather
than =, that won't stop valgrind from saying it's uninitialised, and a
good job too!
| -rw-r--r-- | bk_paper.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -2633,8 +2633,8 @@ static para_data *rule_paragraph(int indent, paper_conf *conf) /* * Better to break after a rule than before it */ - ldata->penalty_after += 100000; - ldata->penalty_before += -100000; + ldata->penalty_after = 100000; + ldata->penalty_before = -100000; pdata->first = pdata->last = ldata; pdata->outline_level = -1; |