summaryrefslogtreecommitdiff
path: root/plugins/Msg_Export/src/utils.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-05-16 15:19:22 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-05-16 15:19:22 +0000
commit011137bd4d5ef75cfb832f82a0cb47b06124a022 (patch)
treeb074d2b22acbc4eac3c39e01c4842a5f908c2c3f /plugins/Msg_Export/src/utils.cpp
parentfa02e76e325bfec6ca2737fcb086cab4e3de3cba (diff)
words of wisdom were well received
now the shortened types are called ptrA, ptrT & ptrW respectively git-svn-id: http://svn.miranda-ng.org/main/trunk@4682 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Msg_Export/src/utils.cpp')
-rwxr-xr-xplugins/Msg_Export/src/utils.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/Msg_Export/src/utils.cpp b/plugins/Msg_Export/src/utils.cpp
index a1cd406030..adcaf3f94b 100755
--- a/plugins/Msg_Export/src/utils.cpp
+++ b/plugins/Msg_Export/src/utils.cpp
@@ -452,11 +452,11 @@ static bool bWriteTextToFile(HANDLE hFile, const TCHAR *pszSrc, bool bUtf8File,
if ( !bUtf8File) {
// We need to downgrade text to ansi
- MCBuf pszAstr( mir_t2a(pszSrc));
+ ptrA pszAstr( mir_t2a(pszSrc));
return bWriteToFile(hFile, pszAstr, -1);
}
- MCBuf pszUtf8( mir_utf8encodeT(pszSrc));
+ ptrA pszUtf8( mir_utf8encodeT(pszSrc));
return bWriteToFile(hFile, pszUtf8, -1);
}
@@ -473,7 +473,7 @@ static bool bWriteTextToFile( HANDLE hFile, const char *pszSrc, bool bUtf8File,
pszSrc = tmp;
}
- MCBuf pszUtf8( mir_utf8encode(pszSrc));
+ ptrA pszUtf8( mir_utf8encode(pszSrc));
return bWriteToFile(hFile, pszUtf8, -1);
}