diff options
author | George Hazan <ghazan@miranda.im> | 2018-01-16 16:21:00 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-01-16 16:21:00 +0300 |
commit | 634a32a8d9114b1da1ffd0dc2b78dde3060a731f (patch) | |
tree | 7bb66f2941c6aff4f0b1ec6807e5c3a043dfe5d6 /protocols/ICQCorp/src/transfer.h | |
parent | 954ee9077fb34e5e6dcda3485ae9c192d9b19fd2 (diff) |
ICQCorp:
- crash fixed when one sends a file;
- all file names went to Unicode;
- all messages are being send in Utf8 instead of ANSI;
- version bump;
Diffstat (limited to 'protocols/ICQCorp/src/transfer.h')
-rw-r--r-- | protocols/ICQCorp/src/transfer.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/protocols/ICQCorp/src/transfer.h b/protocols/ICQCorp/src/transfer.h index 8bfed7fe4a..4d19ecf281 100644 --- a/protocols/ICQCorp/src/transfer.h +++ b/protocols/ICQCorp/src/transfer.h @@ -29,15 +29,14 @@ public: MCONTACT hContact;
unsigned int sequence;
TCPSocket socket;
- char **files;
- char *description;
- char *path;
+ wchar_t **files;
+ wchar_t *path, *fileName;
+ char *description;
unsigned char directory;
unsigned int sending;
unsigned int speed;
unsigned int count;
- unsigned int current;
- char *fileName;
+ unsigned int current;
unsigned int fileDate;
unsigned int fileSize;
unsigned int fileProgress;
@@ -59,7 +58,7 @@ public: void sendPacket0x06();
void ack(unsigned int result);
void process();
- void resume(int action, const char *newName);
+ void resume(int action, const wchar_t *newName);
void openFile();
void closeFile();
void setFilePosition();
|