summaryrefslogtreecommitdiff
path: root/plugins/WebView
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/WebView')
-rw-r--r--plugins/WebView/src/webview_services.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/WebView/src/webview_services.cpp b/plugins/WebView/src/webview_services.cpp
index 2dae6b0c4e..77438d6ccc 100644
--- a/plugins/WebView/src/webview_services.cpp
+++ b/plugins/WebView/src/webview_services.cpp
@@ -70,7 +70,7 @@ int DBSettingChanged(WPARAM wParam, LPARAM lParam)
srand((unsigned)time(NULL));
TCHAR ranStr[7];
_itot((int)10000 *rand() / (RAND_MAX + 1.0), ranStr, 10);
- _tcscat(nick, ranStr);
+ mir_tstrcat(nick, ranStr);
}
if ( _tcschr(nick, '(') == 0) {
@@ -427,7 +427,7 @@ INT_PTR AddToList(WPARAM wParam, LPARAM lParam)
TCHAR ranStr[10];
_itot((int) 10000 *rand() / (RAND_MAX + 1.0), ranStr, 10);
- _tcscat(Newnick, ranStr);
+ mir_tstrcat(Newnick, ranStr);
}
//end convert