summaryrefslogtreecommitdiff
path: root/plugins/Clist_modern/src/modern_aniavatars.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Clist_modern/src/modern_aniavatars.cpp')
-rw-r--r--plugins/Clist_modern/src/modern_aniavatars.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/plugins/Clist_modern/src/modern_aniavatars.cpp b/plugins/Clist_modern/src/modern_aniavatars.cpp
index 3f27ffccec..dea41dab1c 100644
--- a/plugins/Clist_modern/src/modern_aniavatars.cpp
+++ b/plugins/Clist_modern/src/modern_aniavatars.cpp
@@ -847,10 +847,7 @@ int AniAva_RedrawAllAvatars(BOOL updateZOrder)
updateZOrder = 1;
for (int i = 0; i < s_Objects.getCount(); i++) {
ANIAVA_OBJECT &pai = s_Objects[i];
- if (updateZOrder)
- SendMessage(pai.hWindow, AAM_REDRAW, (WPARAM)updateZOrder, 0);
- else
- SendNotifyMessage(pai.hWindow, AAM_REDRAW, (WPARAM)updateZOrder, 0);
+ SendMessage(pai.hWindow, AAM_REDRAW, (WPARAM)updateZOrder, 0);
}
return 1;
}