summaryrefslogtreecommitdiff
path: root/plugins/YAPP/src/yapp_history_dlg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/YAPP/src/yapp_history_dlg.cpp')
-rw-r--r--plugins/YAPP/src/yapp_history_dlg.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/YAPP/src/yapp_history_dlg.cpp b/plugins/YAPP/src/yapp_history_dlg.cpp
index 68f39dea74..f98482dcdd 100644
--- a/plugins/YAPP/src/yapp_history_dlg.cpp
+++ b/plugins/YAPP/src/yapp_history_dlg.cpp
@@ -143,7 +143,7 @@ int MatchesFilterCS(const TCHAR *filter, const PopupHistoryData *popupItem) //ca
__inline void ConvertCase(TCHAR *dest, const TCHAR *source, size_t size)
{
- mir_tstrncpy(dest, source, size);
+ _tcsncpy(dest, source, size);
_tcslwr(dest);
}
@@ -493,7 +493,7 @@ void CopyPopupDataToClipboard(HWND hList, int selection)
HANDLE hData = GlobalAlloc(GMEM_MOVEABLE, (len + 2) * sizeof(TCHAR));
clipboard = (TCHAR *) GlobalLock(hData);
- mir_tstrncpy(clipboard, buffer, len);
+ _tcsncpy(clipboard, buffer, len);
clipboard[len] = _T('\0');
GlobalUnlock(hData);
if (!SetClipboardData(textType, hData))