mirror of
https://gitlab.gnome.org/GNOME/calls.git
synced 2025-01-07 04:15:32 +00:00
notifier: Fix logic error
After introducing the STR_IS_NULL_OR_EMPTY macro the rewrite of the logic was
inverted.
Fixes d3677ad5d1
This commit is contained in:
parent
d3677ad5d1
commit
094d402d9b
1 changed files with 2 additions and 2 deletions
|
@ -68,8 +68,8 @@ notify (CallsNotifier *self, CuiCall *call)
|
|||
name = cui_call_get_display_name (call);
|
||||
id = cui_call_get_id (call);
|
||||
|
||||
got_id = STR_IS_NULL_OR_EMPTY (id);
|
||||
got_contact = STR_IS_NULL_OR_EMPTY (name);
|
||||
got_id = !STR_IS_NULL_OR_EMPTY (id);
|
||||
got_contact = !STR_IS_NULL_OR_EMPTY (name);
|
||||
|
||||
if (got_contact)
|
||||
/* %s is a name here */
|
||||
|
|
Loading…
Reference in a new issue