diff options
author | Sergey Bolhovskoy <elzorfox@ya.ru> | 2015-09-16 14:11:06 +0000 |
---|---|---|
committer | Sergey Bolhovskoy <elzorfox@ya.ru> | 2015-09-16 14:11:06 +0000 |
commit | dfa2c32267d9a404fb4bb9a324f83e196624671f (patch) | |
tree | 5e29ef430d57a89dbe7e851256f507c28246ed19 /protocols/VKontakte/src/misc.cpp | |
parent | d0a1040e019092c29d8d2a2c2a29bc1e7644a5e5 (diff) |
VKontakte: fix sticker sent
git-svn-id: http://svn.miranda-ng.org/main/trunk@15362 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/VKontakte/src/misc.cpp')
-rw-r--r-- | protocols/VKontakte/src/misc.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/VKontakte/src/misc.cpp b/protocols/VKontakte/src/misc.cpp index 4f24f82615..b83bb0d396 100644 --- a/protocols/VKontakte/src/misc.cpp +++ b/protocols/VKontakte/src/misc.cpp @@ -671,7 +671,7 @@ char* CVkProto::GetStickerId(const char* Msg, int &stickerid) if (retLen < mir_strlen(Msg)) {
CMStringA szMsg(Msg, int(mir_strlen(Msg) - mir_strlen(tmpMsg)));
szMsg.Append(&tmpMsg[retLen]);
- retMsg = mir_strdup(szMsg);
+ retMsg = mir_strdup(szMsg.Trim());
}
}
|