summaryrefslogtreecommitdiff
path: root/plugins/Quotes/src/ImportExport.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Quotes/src/ImportExport.cpp')
-rw-r--r--plugins/Quotes/src/ImportExport.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/plugins/Quotes/src/ImportExport.cpp b/plugins/Quotes/src/ImportExport.cpp
index a6c46e894f..6a01feb58f 100644
--- a/plugins/Quotes/src/ImportExport.cpp
+++ b/plugins/Quotes/src/ImportExport.cpp
@@ -170,12 +170,12 @@ namespace
{
LPTSTR p = pszBuffer;
LPCTSTR pszXml = TranslateT("XML File (*.xml)");
- lstrcpyn(p,pszXml, (int)cBuffer);
- size_t nLen = lstrlen(pszXml)+1;
+ mir_tstrncpy(p,pszXml, (int)cBuffer);
+ size_t nLen = mir_tstrlen(pszXml)+1;
p+= nLen;
if(nLen < cBuffer)
{
- lstrcpyn(p,_T("*.xml"),(int)(cBuffer-nLen));
+ mir_tstrncpy(p,_T("*.xml"),(int)(cBuffer-nLen));
p+= 6;
nLen += 6;
}
@@ -183,15 +183,15 @@ namespace
if(nLen < cBuffer)
{
LPCTSTR pszAll = TranslateT("All files (*.*)");
- lstrcpyn(p,pszAll,(int)(cBuffer-nLen));
- size_t n = lstrlen(pszAll)+1;
+ mir_tstrncpy(p,pszAll,(int)(cBuffer-nLen));
+ size_t n = mir_tstrlen(pszAll)+1;
nLen += n;
p+= n;
}
if(nLen < cBuffer)
{
- lstrcpyn(p,_T("*.*"),(int)(cBuffer-nLen));
+ mir_tstrncpy(p,_T("*.*"),(int)(cBuffer-nLen));
p+= 4;
nLen += 4;
}