diff options
author | Robert Pösel <robyer@seznam.cz> | 2013-07-31 13:17:46 +0000 |
---|---|---|
committer | Robert Pösel <robyer@seznam.cz> | 2013-07-31 13:17:46 +0000 |
commit | ac451e581c719cf0b20de087e5935a76df33c745 (patch) | |
tree | bf095d44ab7182320d5bf7d9f1a76a2733065940 /protocols/FacebookRM | |
parent | 198892823621f96cd8e5393178d20b1931f5e7b7 (diff) |
Facebook: warning fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@5539 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/FacebookRM')
-rw-r--r-- | protocols/FacebookRM/src/dialogs.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/FacebookRM/src/dialogs.cpp b/protocols/FacebookRM/src/dialogs.cpp index 4fff2ef9d6..f6ec4209b4 100644 --- a/protocols/FacebookRM/src/dialogs.cpp +++ b/protocols/FacebookRM/src/dialogs.cpp @@ -199,7 +199,7 @@ INT_PTR CALLBACK FBMindProc(HWND hwnd, UINT message, WPARAM wparam, LPARAM lpara ptrT place = data->proto->getTStringA(FACEBOOK_KEY_PLACE);
SetDlgItemText(hwnd, IDC_PLACE, place != NULL ? place : _T("Miranda NG"));
- bShowContacts = data->proto->getByte("PostStatusExpand", 0);
+ bShowContacts = data->proto->getByte("PostStatusExpand", 0) > 0;
ResizeHorizontal(hwnd, bShowContacts);
HWND hwndClist = GetDlgItem(hwnd, IDC_CCLIST);
|