diff options
author | Vadim Dashevskiy <watcherhd@gmail.com> | 2015-01-11 07:44:24 +0000 |
---|---|---|
committer | Vadim Dashevskiy <watcherhd@gmail.com> | 2015-01-11 07:44:24 +0000 |
commit | bb45fd7e47ece5278e7fbf8ba7dc8d65a32412bb (patch) | |
tree | f43bd30b4cb7bc744e3c0a8b30365674cd40ba0c /plugins/SMS | |
parent | b454349d50a819960b7bc199a1c368f97ffc1a9d (diff) |
compilation fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@11827 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/SMS')
-rw-r--r-- | plugins/SMS/src/senddlg.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/SMS/src/senddlg.cpp b/plugins/SMS/src/senddlg.cpp index f1784145b3..dc5713d17e 100644 --- a/plugins/SMS/src/senddlg.cpp +++ b/plugins/SMS/src/senddlg.cpp @@ -142,6 +142,7 @@ INT_PTR CALLBACK SendSmsDlgProc(HWND hWndDlg,UINT message,WPARAM wParam,LPARAM l SendSMSWindowUpdateAccountList(hWndDlg);
{
+ TCHAR tszSign[1024];
size_t dwSignLen = 0;
if (DB_SMS_GetByte(NULL,"UseSignature",SMS_DEFAULT_USESIGNATURE))
@@ -153,7 +154,6 @@ INT_PTR CALLBACK SendSmsDlgProc(HWND hWndDlg,UINT message,WPARAM wParam,LPARAM l EnableWindow(GetDlgItem(hWndDlg,IDOK),dwSignLen);
}
- TCHAR tszSign[1024];
mir_sntprintf(tszSign,SIZEOF(tszSign),_T("%d/%d"),dwSignLen,GetSMSMessageLenMax(hWndDlg));
SetDlgItemText(hWndDlg,IDC_COUNT,tszSign);
}
|