summaryrefslogtreecommitdiffstats
path: root/src/common
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-10-05 05:55:50 +0200
committerLioncash <mathew1800@gmail.com>2018-10-05 05:55:53 +0200
commit6f168262605d7979d8069cd9dad21932a522263d (patch)
tree79f732b0a01deca032c6d1cf6ab408c454c08037 /src/common
parentMerge pull request #1330 from raven02/tlds (diff)
downloadyuzu-6f168262605d7979d8069cd9dad21932a522263d.tar
yuzu-6f168262605d7979d8069cd9dad21932a522263d.tar.gz
yuzu-6f168262605d7979d8069cd9dad21932a522263d.tar.bz2
yuzu-6f168262605d7979d8069cd9dad21932a522263d.tar.lz
yuzu-6f168262605d7979d8069cd9dad21932a522263d.tar.xz
yuzu-6f168262605d7979d8069cd9dad21932a522263d.tar.zst
yuzu-6f168262605d7979d8069cd9dad21932a522263d.zip
Diffstat (limited to 'src/common')
-rw-r--r--src/common/logging/text_formatter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/logging/text_formatter.cpp b/src/common/logging/text_formatter.cpp
index 05437c137..6a0605c63 100644
--- a/src/common/logging/text_formatter.cpp
+++ b/src/common/logging/text_formatter.cpp
@@ -31,7 +31,7 @@ std::string FormatLogMessage(const Entry& entry) {
}
void PrintMessage(const Entry& entry) {
- auto str = FormatLogMessage(entry) + '\n';
+ const auto str = FormatLogMessage(entry).append(1, '\n');
fputs(str.c_str(), stderr);
}