From 2f261839b60692e33d0e160344d0d636d49c90ba Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 27 Jul 2016 14:23:31 +0000 Subject: less TCHARs git-svn-id: http://svn.miranda-ng.org/main/trunk@17138 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Nudge/src/options.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'plugins/Nudge/src/options.cpp') diff --git a/plugins/Nudge/src/options.cpp b/plugins/Nudge/src/options.cpp index 57dcaf9c0a..5954fdfdc9 100644 --- a/plugins/Nudge/src/options.cpp +++ b/plugins/Nudge/src/options.cpp @@ -94,14 +94,14 @@ static INT_PTR CALLBACK DlgProcShakeOpt(HWND hwnd,UINT msg,WPARAM wParam,LPARAM TranslateDialogDefault(hwnd); { wchar_t szBuf[20]; - mir_sntprintf(szBuf, L"%d", shake.nMoveClist); + mir_snwprintf(szBuf, L"%d", shake.nMoveClist); SetDlgItemText(hwnd, IDC_LNUMBER_CLIST, szBuf); - mir_sntprintf(szBuf, L"%d", shake.nMoveChat); + mir_snwprintf(szBuf, L"%d", shake.nMoveChat); SetDlgItemText(hwnd, IDC_LNUMBER_CHAT, szBuf); - mir_sntprintf(szBuf, L"%d", shake.nScaleClist); + mir_snwprintf(szBuf, L"%d", shake.nScaleClist); SetDlgItemText(hwnd, IDC_LSCALE_CLIST, szBuf); - mir_sntprintf(szBuf, L"%d", shake.nScaleChat); + mir_snwprintf(szBuf, L"%d", shake.nScaleChat); SetDlgItemText(hwnd, IDC_LSCALE_CHAT, szBuf); } @@ -132,7 +132,7 @@ static INT_PTR CALLBACK DlgProcShakeOpt(HWND hwnd,UINT msg,WPARAM wParam,LPARAM { wchar_t szBuf[20]; DWORD dwPos = SendMessage((HWND)lParam, TBM_GETPOS, 0, 0); - mir_sntprintf(szBuf, L"%d", dwPos); + mir_snwprintf(szBuf, L"%d", dwPos); if ((HWND)lParam == GetDlgItem(hwnd, IDC_SNUMBER_CLIST)) SetDlgItemText(hwnd, IDC_LNUMBER_CLIST, szBuf); if ((HWND)lParam == GetDlgItem(hwnd, IDC_SNUMBER_CHAT)) -- cgit v1.2.3