diff options
Diffstat (limited to 'protocols/AimOscar/src/file.cpp')
-rw-r--r-- | protocols/AimOscar/src/file.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/AimOscar/src/file.cpp b/protocols/AimOscar/src/file.cpp index a186b29fa8..007359eb8f 100644 --- a/protocols/AimOscar/src/file.cpp +++ b/protocols/AimOscar/src/file.cpp @@ -335,7 +335,7 @@ int CAimProto::receiving_file(file_transfer *ft, HANDLE hServerPacketRecver, NET if (ft->pfts.tszCurrentFile) {
wchar_t* dir = get_dir(ft->pfts.tszCurrentFile);
- CreateDirectoryTreeT(dir);
+ CreateDirectoryTreeW(dir);
mir_free(dir);
oft->type = _htons(ft->pfts.currentFileProgress ? 0x0205 : 0x0202);
@@ -491,7 +491,7 @@ file_transfer::file_transfer(MCONTACT hCont, char* nick, char* cookie) memset(this, 0, sizeof(*this));
pfts.cbSize = sizeof(pfts);
- pfts.flags = PFTS_TCHAR;
+ pfts.flags = PFTS_UNICODE;
pfts.hContact = hCont;
hContact = hCont;
|