diff options
Diffstat (limited to 'plugins/BuddyPounce/src/main.cpp')
-rw-r--r-- | plugins/BuddyPounce/src/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/BuddyPounce/src/main.cpp b/plugins/BuddyPounce/src/main.cpp index f5890628fa..6d6a1ce6a8 100644 --- a/plugins/BuddyPounce/src/main.cpp +++ b/plugins/BuddyPounce/src/main.cpp @@ -218,7 +218,7 @@ INT_PTR AddToPounce(WPARAM wParam, LPARAM lParam) {
TCHAR* newPounce = (TCHAR*)mir_alloc(mir_tstrlen(dbv.ptszVal) + mir_tstrlen(message) + 1);
if (!newPounce) return 1;
- _tcscpy(newPounce, dbv.ptszVal);
+ mir_tstrcpy(newPounce, dbv.ptszVal);
_tcscat(newPounce, message);
db_set_ws(hContact, modname, "PounceMsg", newPounce);
mir_free(newPounce);
|