# HG changeset patch # User Chris Cannam # Date 1567514685 -3600 # Node ID a7934d5661f821d81a9e1c72248e85f1a51e9836 # Parent 186a452dddd31d093b8714d7eb660d4d97f40d06 Avoid breaking if CHANGELOG happens to have DOS line endings diff -r 186a452dddd3 -r a7934d5661f8 main/MainWindow.cpp --- a/main/MainWindow.cpp Fri Aug 30 11:56:03 2019 +0100 +++ b/main/MainWindow.cpp Tue Sep 03 13:44:45 2019 +0100 @@ -5065,6 +5065,7 @@ layout->addWidget(bb, row++, 0, 1, 3); connect(bb, SIGNAL(accepted()), d, SLOT(accept())); + text.replace('\r', ""); text.replace(QRegExp("(.)\n +(.)"), "\\1 \\2"); text.replace(QRegExp("\n - ([^\n]+)"), "\n