diff options
| -rw-r--r-- | src/core/hle/service/lm/lm.cpp | 2 |
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: | |||
| 125 | if (line) { | 125 | if (line) { |
| 126 | output += std::to_string(line) + ':'; | 126 | output += std::to_string(line) + ':'; |
| 127 | } | 127 | } |
| 128 | if (output.back() == ':') { | 128 | if (output.length() > 0 && output.back() == ':') { |
| 129 | output += ' '; | 129 | output += ' '; |
| 130 | } | 130 | } |
| 131 | output += message; | 131 | output += message; |