summaryrefslogtreecommitdiff
path: root/protocols/VKontakte
diff options
context:
space:
mode:
authorSergey Bolhovskoy <elzorfox@ya.ru>2015-05-30 10:27:39 +0000
committerSergey Bolhovskoy <elzorfox@ya.ru>2015-05-30 10:27:39 +0000
commitefc82fd4b41a1c701752e2f1aeb4e645421f287a (patch)
tree7b0a65a22cbc2f0e00ab59ab2b24c6c588aba368 /protocols/VKontakte
parent3f997007f5bea3960179e920ec258f511d5ebf78 (diff)
VKontakte: crashfix for forwarded messages
git-svn-id: http://svn.miranda-ng.org/main/trunk@13907 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/VKontakte')
-rw-r--r--protocols/VKontakte/src/misc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/VKontakte/src/misc.cpp b/protocols/VKontakte/src/misc.cpp
index 93f82571d3..435e68052a 100644
--- a/protocols/VKontakte/src/misc.cpp
+++ b/protocols/VKontakte/src/misc.cpp
@@ -1123,7 +1123,7 @@ CMString CVkProto::GetFwdMessages(const JSONNode &jnMessages, BBCSupport iBBC)
return res;
}
- for (auto it = jnMessages.begin(); it != jnMessages.end(); --it) {
+ for (auto it = jnMessages.begin(); it != jnMessages.end(); ++it) {
const JSONNode &jnMsg = (*it);
int uid = jnMsg["user_id"].as_int();