diff options
author | MarcoFalke <falke.marco@gmail.com> | 2019-06-13 09:16:10 -0400 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2019-06-13 10:32:52 -0400 |
commit | fac03ec43a15ad547161e37e53ea82482cc508f9 (patch) | |
tree | 42668094848186068573744f78daa4072314257f /src/qt | |
parent | fa72a64b90dc07a80b1ca6127eb50d8244dedc3b (diff) |
scripted-diff: Replace fprintf with tfm::format
-BEGIN VERIFY SCRIPT-
sed -i --regexp-extended -e 's/fprintf\(std(err|out), /tfm::format(std::c\1, /g' $(git grep -l 'fprintf(' -- ':(exclude)src/crypto' ':(exclude)src/leveldb' ':(exclude)src/univalue' ':(exclude)src/secp256k1')
-END VERIFY SCRIPT-
fixup! scripted-diff: Replace fprintf with tfm::format
Diffstat (limited to 'src/qt')
-rw-r--r-- | src/qt/utilitydialog.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qt/utilitydialog.cpp b/src/qt/utilitydialog.cpp index 3a4eebd94a..aa810690c9 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. - fprintf(stdout, "%s\n", qPrintable(text)); + tfm::format(std::cout, "%s\n", qPrintable(text)); } void HelpMessageDialog::showOrPrint() |