diff options
Diffstat (limited to 'plugins/Exchange/src/MirandaExchange.cpp')
-rw-r--r-- | plugins/Exchange/src/MirandaExchange.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Exchange/src/MirandaExchange.cpp b/plugins/Exchange/src/MirandaExchange.cpp index 52a21e8a18..6b4a6996e5 100644 --- a/plugins/Exchange/src/MirandaExchange.cpp +++ b/plugins/Exchange/src/MirandaExchange.cpp @@ -435,7 +435,7 @@ HRESULT CMirandaExchange::InitializeAndLogin( LPCTSTR szUsername, LPCTSTR szPass TCHAR szPID[20];
_tstrtime(szPID);
- _tcsncpy(szPIDandName, m_szUsername, SIZEOF(szPIDandName)-1);
+ mir_tstrncpy(szPIDandName, m_szUsername, SIZEOF(szPIDandName)-1);
mir_tstrncat(szPIDandName, szPID, SIZEOF(szPIDandName) - mir_tstrlen(szPIDandName));
hr = CreateProfile(szPIDandName);
|