summaryrefslogtreecommitdiffstats
path: root/src/core/hle
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-02-05 04:36:57 +0100
committerbunnei <bunneidev@gmail.com>2018-02-05 04:36:57 +0100
commit69697535bfca47419333064758bc61a00eca0d79 (patch)
treeb9f7b74ae259da2bb0524f10a8abc38ca9edbcc9 /src/core/hle
parentlogger: Add NIFM service logging category. (diff)
downloadyuzu-69697535bfca47419333064758bc61a00eca0d79.tar
yuzu-69697535bfca47419333064758bc61a00eca0d79.tar.gz
yuzu-69697535bfca47419333064758bc61a00eca0d79.tar.bz2
yuzu-69697535bfca47419333064758bc61a00eca0d79.tar.lz
yuzu-69697535bfca47419333064758bc61a00eca0d79.tar.xz
yuzu-69697535bfca47419333064758bc61a00eca0d79.tar.zst
yuzu-69697535bfca47419333064758bc61a00eca0d79.zip
Diffstat (limited to 'src/core/hle')
-rw-r--r--src/core/hle/service/lm/lm.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/service/lm/lm.cpp b/src/core/hle/service/lm/lm.cpp
index 2843e0e40..7ff9c37f3 100644
--- a/src/core/hle/service/lm/lm.cpp
+++ b/src/core/hle/service/lm/lm.cpp
@@ -125,7 +125,7 @@ private:
if (line) {
output += std::to_string(line) + ':';
}
- if (output.back() == ':') {
+ if (output.length() > 0 && output.back() == ':') {
output += ' ';
}
output += message;