diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2014-01-23 17:25:12 +0100 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2014-01-23 17:25:39 +0100 |
commit | 6403c6c835a3302a6ee575576be93e4104a39685 (patch) | |
tree | eeca53e065947846648d9373f240d593c0c0ecfc /src/noui.cpp | |
parent | 53e9d3aa44e24fecd2d58984baff3cb4af23c12e (diff) | |
parent | 7d9d134bf95cb6a2ce9623c7e6a3535432a61af2 (diff) |
Merge pull request #3549
7d9d134 Remove redundant .c_str()s (Wladimir J. van der Laan)
b77dfdc Typesafe strprintf/error/LogPrint functions (Wladimir J. van der Laan)
Diffstat (limited to 'src/noui.cpp')
-rw-r--r-- | src/noui.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/noui.cpp b/src/noui.cpp index 86954f3c34..f176e0eb59 100644 --- a/src/noui.cpp +++ b/src/noui.cpp @@ -29,14 +29,14 @@ static bool noui_ThreadSafeMessageBox(const std::string& message, const std::str strCaption += caption; // Use supplied caption (can be empty) } - LogPrintf("%s: %s\n", strCaption.c_str(), message.c_str()); + LogPrintf("%s: %s\n", strCaption, message); fprintf(stderr, "%s: %s\n", strCaption.c_str(), message.c_str()); return false; } static void noui_InitMessage(const std::string &message) { - LogPrintf("init message: %s\n", message.c_str()); + LogPrintf("init message: %s\n", message); } void noui_connect() |