summaryrefslogtreecommitdiff
path: root/plugins/WebView/src/webview_services.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/WebView/src/webview_services.cpp')
-rw-r--r--plugins/WebView/src/webview_services.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/WebView/src/webview_services.cpp b/plugins/WebView/src/webview_services.cpp
index 0289f0a096..b8fdf9aaa2 100644
--- a/plugins/WebView/src/webview_services.cpp
+++ b/plugins/WebView/src/webview_services.cpp
@@ -53,7 +53,7 @@ int DBSettingChanged(WPARAM wParam, LPARAM lParam)
TCHAR nick[100];
ptrT oldnick( db_get_tsa(hContact, "CList", "MyHandle"));
if (oldnick != NULL)
- _tcsncpy_s(nick, SIZEOF(nick), oldnick, _TRUNCATE);
+ _tcsncpy_s(nick, oldnick, _TRUNCATE);
else
nick[0] = 0;