From 427359cbf083f5c5f709d68fd30bd08392ae57ca Mon Sep 17 00:00:00 2001 From: Sergey Bolhovskoy Date: Thu, 27 Aug 2015 09:11:19 +0000 Subject: =?UTF-8?q?VKontakte:=20fix=20unneeded=20=E2=80=98mark=20as=20read?= =?UTF-8?q?=E2=80=99=20requests=20fix=20nick=20in=20forwarded=20messages?= =?UTF-8?q?=20code=20cleaning=20version=20bump?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://svn.miranda-ng.org/main/trunk@15040 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/VKontakte/src/vk_files.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'protocols/VKontakte/src/vk_files.cpp') 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)) { -- cgit v1.2.3