diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2015-05-23 17:17:58 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2015-05-23 17:17:58 +0000 |
commit | 81c71c6c4cf85e8a7575bdf5a8f7991df1eec8b7 (patch) | |
tree | ad522ab5f448c23b5032e12831aeb9a863a299d0 /plugins/Weather/src/weather_popup.cpp | |
parent | d5ee0fc23bdc1a194774591eb4ce63b8bebb8d6e (diff) |
replace _tcsncat to mir_tstrncat
git-svn-id: http://svn.miranda-ng.org/main/trunk@13781 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Weather/src/weather_popup.cpp')
-rw-r--r-- | plugins/Weather/src/weather_popup.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/Weather/src/weather_popup.cpp b/plugins/Weather/src/weather_popup.cpp index b7ca1555cd..17ab3696c8 100644 --- a/plugins/Weather/src/weather_popup.cpp +++ b/plugins/Weather/src/weather_popup.cpp @@ -397,9 +397,9 @@ INT_PTR CALLBACK DlgPopupOpts(HWND hdlg, UINT msg, WPARAM wParam, LPARAM lParam) case IDC_VAR3:
// display variable list
_tcsncpy(str, _T(" \n"),SIZEOF(str) - 1); // to make the message box wider
- _tcsncat(str, VAR_LIST_POPUP, SIZEOF(str) - mir_tstrlen(str));
- _tcsncat(str, _T("\n"), SIZEOF(str) - mir_tstrlen(str));
- _tcsncat(str, CUSTOM_VARS, SIZEOF(str) - mir_tstrlen(str));
+ mir_tstrncat(str, VAR_LIST_POPUP, SIZEOF(str) - mir_tstrlen(str));
+ mir_tstrncat(str, _T("\n"), SIZEOF(str) - mir_tstrlen(str));
+ mir_tstrncat(str, CUSTOM_VARS, SIZEOF(str) - mir_tstrlen(str));
MessageBox(NULL, str, TranslateT("Variable List"), MB_OK|MB_ICONASTERISK|MB_TOPMOST);
break;
|