summaryrefslogtreecommitdiff
path: root/protocols/SkypeWeb/src/skype_utils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/SkypeWeb/src/skype_utils.cpp')
-rw-r--r--protocols/SkypeWeb/src/skype_utils.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/protocols/SkypeWeb/src/skype_utils.cpp b/protocols/SkypeWeb/src/skype_utils.cpp
index fdb3a97b3c..cd85c2db04 100644
--- a/protocols/SkypeWeb/src/skype_utils.cpp
+++ b/protocols/SkypeWeb/src/skype_utils.cpp
@@ -405,9 +405,9 @@ char *CSkypeProto::RemoveHtml(const char *text)
}
else {
// Keyword replacement
- for (int j = 0; j < _countof(htmlEntities); j++) {
- if (!mir_strcmpi(entity.c_str(), htmlEntities[j].entity)) {
- new_string += htmlEntities[j].symbol;
+ for (auto &it : htmlEntities) {
+ if (!mir_strcmpi(entity.c_str(), it.entity)) {
+ new_string += it.symbol;
found = true;
break;
}