diff options
author | George Hazan <george.hazan@gmail.com> | 2014-02-18 14:40:43 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-02-18 14:40:43 +0000 |
commit | cdbdcef6d92500b3b156ea6e304440e82621aa00 (patch) | |
tree | 6c6673df2824ae7e83dfa8c2c9b2859388c574b7 /protocols/JabberG/src/jabber_form.cpp | |
parent | 08c2fa14c7ee65003e8e9b59567bb4525d17c28c (diff) |
fixes 584
git-svn-id: http://svn.miranda-ng.org/main/trunk@8163 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/JabberG/src/jabber_form.cpp')
-rw-r--r-- | protocols/JabberG/src/jabber_form.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/JabberG/src/jabber_form.cpp b/protocols/JabberG/src/jabber_form.cpp index d3d5d58d4e..21ef373827 100644 --- a/protocols/JabberG/src/jabber_form.cpp +++ b/protocols/JabberG/src/jabber_form.cpp @@ -625,14 +625,14 @@ HXML JabberFormGetData(HWND hwndStatic, HXML xNode) id++;
}
else if (!_tcscmp(type, _T("boolean"))) {
- TCHAR buf[ 10 ];
+ TCHAR buf[10];
_itot(IsDlgButtonChecked(hFrame, id) == BST_CHECKED ? 1 : 0, buf, 10);
field << XCHILD(_T("value"), buf);
id++;
}
else if (!_tcscmp(type, _T("list-single"))) {
len = GetWindowTextLength(GetDlgItem(hFrame, id));
- str = (TCHAR*)mir_alloc(sizeof(TCHAR)*(len+1));
+ str = (TCHAR*)mir_alloc(sizeof(TCHAR)*(len + 1));
GetDlgItemText(hFrame, id, str, len+1);
v = NULL;
for (j=0; ; j++) {
|