summaryrefslogtreecommitdiff
path: root/plugins/TopToolBar/topbutton.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-07-08 14:35:33 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-07-08 14:35:33 +0000
commit6d22869470306be0c2fec2a6d344f6aaafc4b0af (patch)
tree23f7245a2e4eb1e3f58d68ca77a47f188b16e913 /plugins/TopToolBar/topbutton.cpp
parent610ba2b89a29f2766d232bea9157719de4b68928 (diff)
fix for reading avatars
git-svn-id: http://svn.miranda-ng.org/main/trunk@849 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TopToolBar/topbutton.cpp')
-rw-r--r--plugins/TopToolBar/topbutton.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/TopToolBar/topbutton.cpp b/plugins/TopToolBar/topbutton.cpp
index 952140da95..651686feea 100644
--- a/plugins/TopToolBar/topbutton.cpp
+++ b/plugins/TopToolBar/topbutton.cpp
@@ -28,21 +28,21 @@ DWORD TopButtonInt::CheckFlags(DWORD Flags)
EnableWindow(hwnd,(dwFlags & TTBBF_DISABLED)?FALSE:TRUE);
}
if (BitChanged(TTBBF_ASPUSHBUTTON)) {
- dwFlags^=TTBBF_ASPUSHBUTTON;
+ dwFlags ^= TTBBF_ASPUSHBUTTON;
SendMessage(hwnd, BUTTONSETASPUSHBTN, (dwFlags & TTBBF_ASPUSHBUTTON)?1:0, 0);
}
if (BitChanged(TTBBF_SHOWTOOLTIP)) {
- dwFlags^=TTBBF_SHOWTOOLTIP;
+ dwFlags ^= TTBBF_SHOWTOOLTIP;
SendMessage(hwnd,BUTTONADDTOOLTIP,
(WPARAM)((dwFlags & TTBBF_SHOWTOOLTIP)?tooltip:L""),BATF_UNICODE);
}
// next settings changing visual side, requires additional actions
if (BitChanged(TTBBF_VISIBLE)) {
- dwFlags^=TTBBF_VISIBLE;
+ dwFlags ^= TTBBF_VISIBLE;
res |= TTBBF_VISIBLE;
}
if (BitChanged(TTBBF_PUSHED)) {
- dwFlags^=TTBBF_PUSHED;
+ dwFlags ^= TTBBF_PUSHED;
res |= TTBBF_PUSHED;
bPushed = (dwFlags & TTBBF_PUSHED) ? TRUE : FALSE;
}