summaryrefslogtreecommitdiff
path: root/protocols/VKontakte/src
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-10-07 10:26:59 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-10-07 10:26:59 +0000
commit7ebf1a9591590e96b8660826175d2d86be12a56a (patch)
tree14558015172b0e7fba3a3df03af9dbb4d82824d1 /protocols/VKontakte/src
parent7ec21629323cc712ea6d5a29bade972e696e6f4d (diff)
fix for english login form
git-svn-id: http://svn.miranda-ng.org/main/trunk@6392 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/VKontakte/src')
-rw-r--r--protocols/VKontakte/src/vk_thread.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/protocols/VKontakte/src/vk_thread.cpp b/protocols/VKontakte/src/vk_thread.cpp
index d894506ed6..1510b5feea 100644
--- a/protocols/VKontakte/src/vk_thread.cpp
+++ b/protocols/VKontakte/src/vk_thread.cpp
@@ -111,7 +111,9 @@ LBL_NoForm:
return;
}
- if ( strstr(reply->pData, ptrA( mir_utf8encodecp("неверный логин или пароль", 1251)))) {
+ if ( strstr(reply->pData, "Invalid login or password") ||
+ strstr(reply->pData, ptrA( mir_utf8encodecp("неверный логин или пароль", 1251))))
+ {
ConnectionFailed(LOGINERR_WRONGPASSWORD);
return;
}