diff options
| author | George Hazan <george.hazan@gmail.com> | 2025-01-21 12:51:36 +0300 |
|---|---|---|
| committer | George Hazan <george.hazan@gmail.com> | 2025-01-21 12:51:36 +0300 |
| commit | 999cb8b3bf7cc6c7e91916dd9ef127cfb8ca7106 (patch) | |
| tree | eee9e6b08a0390b47cb809573195ac2eba2c800b /protocols/Steam/src/steam_utils.cpp | |
| parent | 454fd5713e1d460c6ef01201748805cc03f6164a (diff) | |
small fix to eat unknown bbcodes
Diffstat (limited to 'protocols/Steam/src/steam_utils.cpp')
| -rw-r--r-- | protocols/Steam/src/steam_utils.cpp | 2 |
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())
|
