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 b16bcd1c97..9269daf7ea 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_ws(NULL, MODULENAME, "message_format", &dbv)) {
- mir_wstrcpy(buf, dbv.ptszVal);
+ mir_wstrcpy(buf, dbv.pwszVal);
db_free(&dbv);
}