summaryrefslogtreecommitdiff
path: root/plugins/wbOSD/src/events.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/wbOSD/src/events.cpp')
-rw-r--r--plugins/wbOSD/src/events.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/wbOSD/src/events.cpp b/plugins/wbOSD/src/events.cpp
index b9b287e37f..af04e7156e 100644
--- a/plugins/wbOSD/src/events.cpp
+++ b/plugins/wbOSD/src/events.cpp
@@ -156,7 +156,7 @@ int HookedNewEvent(WPARAM wParam, LPARAM hDBEvent)
DBVARIANT dbv;
if(!db_get_ts(NULL,THIS_MODULE,"message_format",&dbv)) {
- _tcscpy(buf, dbv.ptszVal);
+ mir_tstrcpy(buf, dbv.ptszVal);
db_free(&dbv);
}