summaryrefslogtreecommitdiff
path: root/protocols/AimOscar/src/ui.cpp
diff options
context:
space:
mode:
authorMikalaiR <nikolay.romanovich@narod.ru>2016-04-11 17:07:46 +0000
committerMikalaiR <nikolay.romanovich@narod.ru>2016-04-11 17:07:46 +0000
commit2c1a84db978c6b8226150807bcc75457464aa6f2 (patch)
tree77c85de2d6baa58c583377fb029e32c4e3786ae0 /protocols/AimOscar/src/ui.cpp
parent100d5db09651bb2c3050f44e597efb2111943252 (diff)
AIM: CMString rulez
git-svn-id: http://svn.miranda-ng.org/main/trunk@16630 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/AimOscar/src/ui.cpp')
-rwxr-xr-xprotocols/AimOscar/src/ui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/AimOscar/src/ui.cpp b/protocols/AimOscar/src/ui.cpp
index 8277b4596f..08efc8b35f 100755
--- a/protocols/AimOscar/src/ui.cpp
+++ b/protocols/AimOscar/src/ui.cpp
@@ -762,7 +762,7 @@ static INT_PTR CALLBACK options_dialog(HWND hwndDlg, UINT msg, WPARAM wParam, LP
CheckDlgButton(hwndDlg, IDC_CLIENTLOGIN, ppro->getByte(AIM_KEY_CLIENTLOGIN, 1) ? BST_CHECKED : BST_UNCHECKED);//use clientlogin
{
HWND dssl = GetDlgItem(hwndDlg, IDC_DSSL);
- bool clientlogin = ppro->getByte(AIM_KEY_CLIENTLOGIN, 1);
+ bool clientlogin = ppro->getByte(AIM_KEY_CLIENTLOGIN, 1) != 0;
EnableWindow(dssl, clientlogin);
if(!clientlogin)
CheckDlgButton(hwndDlg, IDC_DSSL, BST_CHECKED);