[evolution-data-server] Change the conditional sentences. Solaris CC does not support a ? : "". Change them to a ? a : ""
- From: Jeff Cai <jeffcai src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [evolution-data-server] Change the conditional sentences. Solaris CC does not support a ? : "". Change them to a ? a : ""
- Date: Fri, 15 Jan 2010 04:43:47 +0000 (UTC)
commit 53a161d1eed173a6dcbe4001a1ec6eeba62f3506
Author: caiqm <caiqm marathon Prc Sun COM>
Date: Thu Jan 14 12:42:19 2010 +0800
Change the conditional sentences. Solaris CC does not support
a ? : "". Change them to a ? a : ""
addressbook/libebook/e-book.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/addressbook/libebook/e-book.c b/addressbook/libebook/e-book.c
index e1042ab..6443f6c 100644
--- a/addressbook/libebook/e-book.c
+++ b/addressbook/libebook/e-book.c
@@ -1923,11 +1923,11 @@ make_me_card (void)
western = e_name_western_parse (s);
g_string_append_printf (vcard, "N:%s;%s;%s;%s;%s\n",
- western->last ?: "",
- western->first ?: "",
- western->middle ?: "",
- western->prefix ?: "",
- western->suffix ?: "");
+ western->last ? western->last : "",
+ western->first ? western->first : "",
+ western->middle ? western->middle : "",
+ western->prefix ? western->prefix : "",
+ western->suffix ? western->suffix : "");
e_name_western_free (western);
}
g_string_append (vcard, "END:VCARD");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]