diff options
author | George Hazan <george.hazan@gmail.com> | 2013-05-16 15:08:49 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-05-16 15:08:49 +0000 |
commit | 2e4abd268c71f15bcf73c49a5005f128ffd8ee96 (patch) | |
tree | 92624c24bafa4a02eb7e7fd2501a988e385ffab3 /protocols/Gadu-Gadu/src/image.cpp | |
parent | 769714b0aa9606e0d94a9d88c7c3ee3064792e4a (diff) |
shortened typedefs for string buffers:
MCBuf -> mir_ptr<char>
MTBuf -> mir_ptr<TCHAR>
MWBuf -> mir_ptr<WCHAR>
git-svn-id: http://svn.miranda-ng.org/main/trunk@4680 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Gadu-Gadu/src/image.cpp')
-rw-r--r-- | protocols/Gadu-Gadu/src/image.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Gadu-Gadu/src/image.cpp b/protocols/Gadu-Gadu/src/image.cpp index 52e915c845..cb851cab0b 100644 --- a/protocols/Gadu-Gadu/src/image.cpp +++ b/protocols/Gadu-Gadu/src/image.cpp @@ -1029,7 +1029,7 @@ void* GGPROTO::img_loadpicture(gg_event* e, TCHAR *szFileName) dat->lpData = (char*)malloc(dat->nSize);
memcpy(dat->lpData, e->event.image_reply.image, dat->nSize);
- mir_ptr<TCHAR> tmpFileName( mir_a2t(e->event.image_reply.filename));
+ MTBuf tmpFileName( mir_a2t(e->event.image_reply.filename));
if (!gg_img_hasextension(tmpFileName)) {
// Add missing file extension
const TCHAR *szImgType = gg_img_guessfileextension(dat->lpData);
|