diff options
author | Sergey Bolhovskoy <elzorfox@ya.ru> | 2015-08-27 09:11:19 +0000 |
---|---|---|
committer | Sergey Bolhovskoy <elzorfox@ya.ru> | 2015-08-27 09:11:19 +0000 |
commit | 427359cbf083f5c5f709d68fd30bd08392ae57ca (patch) | |
tree | f4b2b936268794ec2681f08ae09c0f84244c019c /protocols/VKontakte/src/vk_files.cpp | |
parent | 4d8a113f8a325b8d2ff6a008d3a8a5b8e70e2e81 (diff) |
VKontakte:
fix unneeded ‘mark as read’ requests
fix nick in forwarded messages
code cleaning
version bump
git-svn-id: http://svn.miranda-ng.org/main/trunk@15040 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/VKontakte/src/vk_files.cpp')
-rw-r--r-- | protocols/VKontakte/src/vk_files.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/protocols/VKontakte/src/vk_files.cpp b/protocols/VKontakte/src/vk_files.cpp index 31f736a7be..0f1cf72577 100644 --- a/protocols/VKontakte/src/vk_files.cpp +++ b/protocols/VKontakte/src/vk_files.cpp @@ -46,10 +46,9 @@ CVkFileUploadParam::VKFileType CVkFileUploadParam::GetType() TCHAR DRIVE[3], DIR[256], FNAME[256], EXT[256];
_tsplitpath(FileName, DRIVE, DIR, FNAME, EXT);
-
- CMStringA fn;
+
T2Utf pszFNAME(FNAME), pszEXT(EXT);
- fn.AppendFormat("%s%s", pszFNAME, pszEXT);
+ CMStringA fn(FORMAT, "%s%s", pszFNAME, pszEXT);
fname = mir_strdup(fn);
if (tlstrstr(img, EXT)) {
|