aboutsummaryrefslogtreecommitdiff
path: root/src/qt
diff options
context:
space:
mode:
authorLuke Dashjr <luke-jr+git@utopios.org>2024-03-14 23:56:48 +0000
committerLuke Dashjr <luke-jr+git@utopios.org>2024-03-15 00:38:33 +0000
commitd1ed09a7643b567e021b2ecb756bc925c48fc708 (patch)
treeaafb0a2bbdeb5cf10248a20cbf6a7973bb1a9c1b /src/qt
parent8afa602f308ef003bb6893718eae1fe5a830690c (diff)
downloadbitcoin-d1ed09a7643b567e021b2ecb756bc925c48fc708.tar.xz
Bugfix: GUI: Help messages already have a trailing newline, so don't add an extra one
Diffstat (limited to 'src/qt')
-rw-r--r--src/qt/utilitydialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qt/utilitydialog.cpp b/src/qt/utilitydialog.cpp
index 6509a701f3..bdaef47406 100644
--- a/src/qt/utilitydialog.cpp
+++ b/src/qt/utilitydialog.cpp
@@ -124,7 +124,7 @@ HelpMessageDialog::~HelpMessageDialog()
void HelpMessageDialog::printToConsole()
{
// On other operating systems, the expected action is to print the message to the console.
- tfm::format(std::cout, "%s\n", qPrintable(text));
+ tfm::format(std::cout, "%s", qPrintable(text));
}
void HelpMessageDialog::showOrPrint()