mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2024-11-27 12:54:17 +01:00
lm: Ensure log string is non-empty before checking back().
This commit is contained in:
parent
485c6541cf
commit
69697535bf
@ -125,7 +125,7 @@ private:
|
|||||||
if (line) {
|
if (line) {
|
||||||
output += std::to_string(line) + ':';
|
output += std::to_string(line) + ':';
|
||||||
}
|
}
|
||||||
if (output.back() == ':') {
|
if (output.length() > 0 && output.back() == ':') {
|
||||||
output += ' ';
|
output += ' ';
|
||||||
}
|
}
|
||||||
output += message;
|
output += message;
|
||||||
|
Loading…
Reference in New Issue
Block a user