[evolution-data-server/gnome-3-8] Make the statements explicit when using ternary if



commit b7a59fc4e53e66b5c4e6f974a1240fca43db64f6
Author: Fabiano Fidêncio <fidencio redhat com>
Date:   Fri Jun 14 18:17:20 2013 +0200

    Make the statements explicit when using ternary if
    
    Based on:
    https://git.gnome.org/browse/evolution-data-server/commit/?id=53a161d1eed173a

 addressbook/libebook-contacts/e-contact.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/addressbook/libebook-contacts/e-contact.c b/addressbook/libebook-contacts/e-contact.c
index fc1d496..5d1d860 100644
--- a/addressbook/libebook-contacts/e-contact.c
+++ b/addressbook/libebook-contacts/e-contact.c
@@ -651,7 +651,7 @@ fileas_setter (EContact *contact,
 {
        /* Default implementation */
        const gchar *file_as = data;
-       e_vcard_attribute_add_value (attr, file_as ? : "");
+       e_vcard_attribute_add_value (attr, file_as ? file_as : "");
 }
 
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]