summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Weimer <wishmaster51@googlemail.com>2012-06-24 10:19:39 +0000
committerTobias Weimer <wishmaster51@googlemail.com>2012-06-24 10:19:39 +0000
commit66b49434b600a3b326697393a86c93129f545e92 (patch)
tree0b2e881ab083d0be9e92ad73aaa66c7d9fda905f
parent429d24ee71e4a27f9e8885af96091e502e525ac1 (diff)
fix for the inverted logic
git-svn-id: http://svn.miranda-ng.org/main/trunk@597 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r--plugins/BasicHistory/HistoryWindow.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/BasicHistory/HistoryWindow.cpp b/plugins/BasicHistory/HistoryWindow.cpp
index e69f5f33ad..bfd1c8730e 100644
--- a/plugins/BasicHistory/HistoryWindow.cpp
+++ b/plugins/BasicHistory/HistoryWindow.cpp
@@ -1220,8 +1220,8 @@ void HistoryWindow::Initialise()
plusIco = (HICON)CallService(MS_SKIN2_GETICONBYHANDLE, 1, (LPARAM)hPlusIcon);
minusIco = (HICON)CallService(MS_SKIN2_GETICONBYHANDLE, 1, (LPARAM)hMinusIcon);
- SendDlgItemMessage( hWnd, IDC_SHOWHIDE, BUTTONSETASPUSHBTN, 0, 0 );
- SendDlgItemMessage( hWnd, IDC_SHOWHIDE, BUTTONSETASFLATBTN, 0, 0 );
+ SendDlgItemMessage( hWnd, IDC_SHOWHIDE, BUTTONSETASPUSHBTN, TRUE, 0 );
+ SendDlgItemMessage( hWnd, IDC_SHOWHIDE, BUTTONSETASFLATBTN, TRUE, 0 );
if(hContact == NULL || Options::instance->showContacts)
{
SendDlgItemMessage( hWnd, IDC_SHOWHIDE, BM_SETIMAGE, IMAGE_ICON, (LPARAM)minusIco);