diff options
author | George Hazan <george.hazan@gmail.com> | 2014-07-17 16:08:10 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-07-17 16:08:10 +0000 |
commit | 6256386699ebcb343383e10efc8143d50c9e7885 (patch) | |
tree | 5d4fc144b45c1d4af39620e33d6f9b6c96be1645 /plugins/TabSRMM/src/sendqueue.cpp | |
parent | 800d1885d036ef2f7f1bc6f52f8855c03fb64705 (diff) |
- fix for the main threat hanging;
- code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@9839 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TabSRMM/src/sendqueue.cpp')
-rw-r--r-- | plugins/TabSRMM/src/sendqueue.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/TabSRMM/src/sendqueue.cpp b/plugins/TabSRMM/src/sendqueue.cpp index a5d147570d..0266e5b5f5 100644 --- a/plugins/TabSRMM/src/sendqueue.cpp +++ b/plugins/TabSRMM/src/sendqueue.cpp @@ -587,7 +587,7 @@ void SendQueue::UpdateSaveAndSendButton(TWindowData *dat) gtxl.codepage = CP_UTF8;
gtxl.flags = GTL_DEFAULT | GTL_PRECISE | GTL_NUMBYTES;
- int len = SendDlgItemMessage(hwndDlg, IDC_MESSAGE, EM_GETTEXTLENGTHEX, (WPARAM)& gtxl, 0);
+ int len = SendDlgItemMessage(hwndDlg, IDC_MESSAGE, EM_GETTEXTLENGTHEX, (WPARAM)>xl, 0);
if (len && GetSendButtonState(hwndDlg) == PBS_DISABLED)
EnableSendButton(dat, TRUE);
else if (len == 0 && GetSendButtonState(hwndDlg) != PBS_DISABLED)
|