summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src/msgs.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/TabSRMM/src/msgs.cpp')
-rw-r--r--plugins/TabSRMM/src/msgs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/TabSRMM/src/msgs.cpp b/plugins/TabSRMM/src/msgs.cpp
index b83f8ffeed..de04c3fe6f 100644
--- a/plugins/TabSRMM/src/msgs.cpp
+++ b/plugins/TabSRMM/src/msgs.cpp
@@ -397,7 +397,7 @@ int AvatarChanged(WPARAM wParam, LPARAM lParam)
DestroyIcon(dat->hTaskbarIcon);
dat->hTaskbarIcon = 0;
DM_RecalcPictureSize(dat);
- if (dat->showPic == 0 || dat->showInfoPic == 0)
+ if (!dat->bShowAvatar || !dat->bShowInfoAvatar)
GetAvatarVisibility(hwnd, dat);
if (dat->hwndPanelPic) {
dat->panelWidth = -1; // force new size calculations (not for flash avatars)