summaryrefslogtreecommitdiff
path: root/plugins/GmailNotifier/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/GmailNotifier/src/main.cpp')
-rw-r--r--plugins/GmailNotifier/src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/GmailNotifier/src/main.cpp b/plugins/GmailNotifier/src/main.cpp
index 0458dad8b8..992b2cc633 100644
--- a/plugins/GmailNotifier/src/main.cpp
+++ b/plugins/GmailNotifier/src/main.cpp
@@ -51,7 +51,7 @@ INT_PTR GetStatus(WPARAM wParam, LPARAM lParam)
INT_PTR GetName(WPARAM wParam, LPARAM lParam)
{
- lstrcpynA((char*)lParam, pluginName, wParam);
+ mir_strncpy((char*)lParam, pluginName, wParam);
return 0;
}