From aa090255cfc30e3aeef7e2ed8d1c8eac3e477cdb Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 14 Mar 2013 14:31:39 +0000 Subject: fix: various problems with memory git-svn-id: http://svn.miranda-ng.org/main/trunk@4025 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Msg_Export/src/utils.h | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'plugins/Msg_Export/src/utils.h') diff --git a/plugins/Msg_Export/src/utils.h b/plugins/Msg_Export/src/utils.h index 37b16b23e5..6264ad2a62 100755 --- a/plugins/Msg_Export/src/utils.h +++ b/plugins/Msg_Export/src/utils.h @@ -39,7 +39,7 @@ extern int nMaxLineWidth; extern tstring sExportDir; extern tstring sDefaultFile; extern tstring sTimeFormat; -extern map > clFileTo1ColWidth; +extern map > clFileTo1ColWidth; extern bool bAppendNewLine; extern bool bUseUtf8InNewFiles; @@ -49,9 +49,9 @@ extern bool bReplaceHistory; tstring sGetErrorString(DWORD dwError); tstring sGetErrorString(); -void DisplayLastError(const _TCHAR * pszError); +void DisplayLastError(const TCHAR *pszError); -_TCHAR * CheckedTranslate( const _TCHAR *szEng , int nFormatCount = -1 ); +TCHAR *CheckedTranslate( const TCHAR *szEng, int nFormatCount = -1 ); void SaveSettings(); void ShowDebugInfo(); @@ -59,27 +59,27 @@ void ShowDebugInfo(); int nExportEvent(WPARAM wparam,LPARAM lparam); int nContactDeleted(WPARAM wparam,LPARAM lparam); -const _TCHAR *NickFromHandle(HANDLE hContact); +const TCHAR *NickFromHandle(HANDLE hContact); -tstring __inline _DBGetStringW(HANDLE hContact,const char *szModule,const char *szSetting , const _TCHAR * pszError ); -string __inline _DBGetStringA(HANDLE hContact,const char *szModule,const char *szSetting , const char * pszError ); +tstring __inline _DBGetStringW(HANDLE hContact,const char *szModule,const char *szSetting, const TCHAR *pszError ); +string __inline _DBGetStringA(HANDLE hContact,const char *szModule,const char *szSetting, const char *pszError ); -void ReplaceAll( tstring &sSrc , const _TCHAR * pszReplace , const tstring &sNew); -void ReplaceAll( tstring &sSrc , const _TCHAR * pszReplace , const _TCHAR * pszNew); +void ReplaceAll( tstring &sSrc, const TCHAR *pszReplace, const tstring &sNew); +void ReplaceAll( tstring &sSrc, const TCHAR *pszReplace, const TCHAR *pszNew); void UpdateFileToColWidth(); bool bReadMirandaDirAndPath(); tstring GetFilePathFromUser( HANDLE hContact ); -void ReplaceDefines( HANDLE hContact , tstring & sTarget ); +void ReplaceDefines( HANDLE hContact, tstring & sTarget ); void ReplaceTimeVariables( tstring &sRet ); bool bCreatePathToFile( tstring sFilePath ); -bool bWriteIndentedToFile( HANDLE hFile , int nIndent , const char * pszSrc , bool bUtf8File ); -bool bWriteIndentedToFile( HANDLE hFile , int nIndent , const _TCHAR * pszSrc , bool bUtf8File ); -bool bWriteNewLine( HANDLE hFile , DWORD dwIndent ); +bool bWriteIndentedToFile( HANDLE hFile, int nIndent, const char *pszSrc, bool bUtf8File ); +bool bWriteIndentedToFile( HANDLE hFile, int nIndent, const TCHAR *pszSrc, bool bUtf8File ); +bool bWriteNewLine( HANDLE hFile, DWORD dwIndent ); bool bIsUtf8Header( BYTE * pucByteOrder ); #endif -- cgit v1.2.3