[evolution-data-server] Make the statements explicit when using ternary if
- From: Fabiano Fidêncio <ffidencio src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server] Make the statements explicit when using ternary if
- Date: Sun, 16 Jun 2013 01:06:26 +0000 (UTC)
commit b31255d5aa850d16bec93d4e70ceda4f8466b53b
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]