Browse Source

lm: Ensure log string is non-empty before checking back().

nce_cpp
bunnei 8 years ago
parent
commit
e7bad17a87
  1. 2
      src/core/hle/service/lm/lm.cpp

2
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;

Loading…
Cancel
Save