diff options
author | MarcoFalke <falke.marco@gmail.com> | 2019-06-13 09:16:10 -0400 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2019-06-18 15:50:02 -0400 |
commit | beb09f09b3749563126f09dba2ac9d884c587678 (patch) | |
tree | cdc0e589b595fc6b82908f3b2ec251266abb2b3c /src/qt | |
parent | e29aa6e72ecf9e0530712bd6c5790b7252d9ae84 (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
Github-Pull: #16205
Rebased-From: fac03ec43a15ad547161e37e53ea82482cc508f9
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 b051dd159b..2a13c46013 100644 --- a/src/qt/utilitydialog.cpp +++ b/src/qt/utilitydialog.cpp @@ -129,7 +129,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() |