summaryrefslogtreecommitdiff
path: root/plugins/Clist_modern/src/modern_aniavatars.cpp
diff options
context:
space:
mode:
authorTobias Weimer <wishmaster51@googlemail.com>2015-03-06 23:20:16 +0000
committerTobias Weimer <wishmaster51@googlemail.com>2015-03-06 23:20:16 +0000
commit052236c2ce0e28176d18cfdf08ac258cbf7600a1 (patch)
treeb780a7ddc14490d62b5d4fb214149f8d565e595d /plugins/Clist_modern/src/modern_aniavatars.cpp
parentde82d806160c060dcca20968a0c788695d4459ab (diff)
Clist_modern:
- Minor cleanup git-svn-id: http://svn.miranda-ng.org/main/trunk@12363 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
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;
}