diff options
author | Tobias Weimer <wishmaster51@googlemail.com> | 2015-03-30 17:41:33 +0000 |
---|---|---|
committer | Tobias Weimer <wishmaster51@googlemail.com> | 2015-03-30 17:41:33 +0000 |
commit | 930eb7441e3741bfc06efa47c58510e6d3b0b576 (patch) | |
tree | 418c0fd9e0a4f8891473fa162a4cc1611273b663 /protocols/Yahoo/src/avatar.cpp | |
parent | 7177e9e7bc1d8adf1867440fab04db3f55bfee45 (diff) |
Yahoo:
- Fixed file transfers
git-svn-id: http://svn.miranda-ng.org/main/trunk@12553 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Yahoo/src/avatar.cpp')
-rw-r--r-- | protocols/Yahoo/src/avatar.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Yahoo/src/avatar.cpp b/protocols/Yahoo/src/avatar.cpp index 9fb6eb893e..5b35f6b3d9 100644 --- a/protocols/Yahoo/src/avatar.cpp +++ b/protocols/Yahoo/src/avatar.cpp @@ -133,7 +133,7 @@ void CYahooProto::SendAvatar(const TCHAR *szFile) sf->filesize = statbuf.st_size;
wchar_t tszFilename[MAX_PATH];
- wcsncpy(tszFilename, szFile, SIZEOF(szFile)-1);
+ wcsncpy(tszFilename, szFile, SIZEOF(tszFilename)-1);
GetShortPathNameW(szFile, tszFilename, SIZEOF(tszFilename));
char szFilename[MAX_PATH];
WideCharToMultiByte(CP_ACP, 0, tszFilename, -1, szFilename, MAX_PATH, 0, 0);
|