summaryrefslogtreecommitdiff
path: root/protocols/Steam/src/steam_utils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Steam/src/steam_utils.cpp')
-rw-r--r--protocols/Steam/src/steam_utils.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/protocols/Steam/src/steam_utils.cpp b/protocols/Steam/src/steam_utils.cpp
index d1e838c9bf..8579c6830a 100644
--- a/protocols/Steam/src/steam_utils.cpp
+++ b/protocols/Steam/src/steam_utils.cpp
@@ -68,7 +68,9 @@ void DecodeBbcodes(SESSION_INFO *si, CMStringA &szText)
else if (!strncmp(p, "lobbyinvite ", 12)) {
szReplace = TranslateU("You were invited to play a game");
}
+ else iEnd++;
}
+ else iEnd++, idx--;
szText.Delete(idx - 1, iEnd - idx + 1);
if (!szReplace.IsEmpty())