summaryrefslogtreecommitdiff
path: root/plugins/Ping/src/log.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Ping/src/log.cpp')
-rw-r--r--plugins/Ping/src/log.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Ping/src/log.cpp b/plugins/Ping/src/log.cpp
index 6c183f40bf..2ac0f8db41 100644
--- a/plugins/Ping/src/log.cpp
+++ b/plugins/Ping/src/log.cpp
@@ -37,7 +37,7 @@ INT_PTR GetLogFilename(WPARAM wParam, LPARAM lParam) {
mir_wstrncat(filename, L"\\ping_log.txt", wParam - mir_wstrlen(filename));
}
else {
- mir_wstrncpy(filename, dbv.ptszVal, wParam);
+ mir_wstrncpy(filename, dbv.pwszVal, wParam);
db_free(&dbv);
}