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 6d7209f0a3..af04e7156e 100644
--- a/plugins/wbOSD/src/events.cpp
+++ b/plugins/wbOSD/src/events.cpp
@@ -152,7 +152,7 @@ int HookedNewEvent(WPARAM wParam, LPARAM hDBEvent)
logmsg("HookedNewEvent2");
TCHAR buf[512];
- mir_tstrncpy(buf, DEFAULT_MESSAGEFORMAT,SIZEOF(buf));
+ _tcsncpy(buf, DEFAULT_MESSAGEFORMAT,SIZEOF(buf));
DBVARIANT dbv;
if(!db_get_ts(NULL,THIS_MODULE,"message_format",&dbv)) {