Add hack to replace doubled linefeeds
authorAndre Heinecke <aheinecke@intevation.de>
Mon, 21 Aug 2017 11:04:55 +0000 (13:04 +0200)
committerAndre Heinecke <aheinecke@intevation.de>
Mon, 21 Aug 2017 11:04:55 +0000 (13:04 +0200)
commit1a77fc1ccab8a93b654e5adea005727cb4518a8d
tree95e43d2b46224f85589d49613cf1d3b5da109ea1
parent1a7f63cc4d9089e9f4a36b78b52e62f20a17364a
Add hack to replace doubled linefeeds

* src/mail.cpp (Mail::update_body): Replace doubled linefeeds before
a newline.
(find_and_replace): New helper.
src/mail.cpp