diff options
Diffstat (limited to 'plugins/WhenWasIt/src/notifiers.cpp')
-rw-r--r-- | plugins/WhenWasIt/src/notifiers.cpp | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/plugins/WhenWasIt/src/notifiers.cpp b/plugins/WhenWasIt/src/notifiers.cpp index c4869a53dd..739fbbb789 100644 --- a/plugins/WhenWasIt/src/notifiers.cpp +++ b/plugins/WhenWasIt/src/notifiers.cpp @@ -138,12 +138,8 @@ int PopupNotifyMissedBirthday(MCONTACT hContact, int dab, int age) sex = TranslateT("He/She");
break;
}
- if (age > 0){
- if (dab > 0)
- mir_snwprintf(pd.lptzText, MAX_SECONDLINE, TranslateT("%s\n%s just turned %d."), text, sex, age);
- else
- mir_snwprintf(pd.lptzText, MAX_SECONDLINE, TranslateT("%s\n%s just turned %d."), text, sex, age);
- }
+ if (age > 0)
+ mir_snwprintf(pd.lptzText, MAX_SECONDLINE, TranslateT("%s\n%s just turned %d."), text, sex, age);
else
mir_wstrncpy(pd.lptzText, text, MAX_SECONDLINE - 1);
|