summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-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;