diff options
Diffstat (limited to 'src/modules/extraicons/DefaultExtraIcons.cpp')
-rw-r--r-- | src/modules/extraicons/DefaultExtraIcons.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/modules/extraicons/DefaultExtraIcons.cpp b/src/modules/extraicons/DefaultExtraIcons.cpp index 5e5c3da926..872c5915cc 100644 --- a/src/modules/extraicons/DefaultExtraIcons.cpp +++ b/src/modules/extraicons/DefaultExtraIcons.cpp @@ -113,10 +113,8 @@ static void SetGender(HANDLE hContact, int gender, BOOL clear) else
ico = NULL;
- if (ico == NULL && !clear)
- return;
-
- ExtraIcon_SetIcon(hExtraGender, hContact, ico);
+ if (ico != NULL || clear)
+ ExtraIcon_SetIcon(hExtraGender, hContact, ico);
}
static void EmailOnClick(Info *info, const char *text);
|