diff options
Diffstat (limited to 'protocols/MSN/src/msn_p2p.cpp')
-rw-r--r-- | protocols/MSN/src/msn_p2p.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/MSN/src/msn_p2p.cpp b/protocols/MSN/src/msn_p2p.cpp index 4116b0a3f4..948e466fb9 100644 --- a/protocols/MSN/src/msn_p2p.cpp +++ b/protocols/MSN/src/msn_p2p.cpp @@ -262,7 +262,7 @@ void CMsnProto::p2p_savePicture2disk(filetransfer* ft) cont.type = 1;
TCHAR* pathcpy = mir_tstrdup(ft->std.tszCurrentFile);
- _tcscpy(_tcsrchr(pathcpy, '.') + 1, ext);
+ mir_tstrcpy(_tcsrchr(pathcpy, '.') + 1, ext);
_trename(ft->std.tszCurrentFile, pathcpy);
cont.path = pathcpy;
|