Skip to content

Commit

Permalink
Bugfix: GUI: Help messages already have a trailing newline, so don't …
Browse files Browse the repository at this point in the history
…add an extra one
  • Loading branch information
luke-jr committed Mar 15, 2024
1 parent 8afa602 commit d1ed09a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/qt/utilitydialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit d1ed09a

Please sign in to comment.