diff options
author | Dan Winship <danw@src.gnome.org> | 2002-08-07 10:15:40 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2002-08-07 10:15:40 +0800 |
commit | 6916d03ad63e4a4b63f065ef2f445d51eb2bb224 (patch) | |
tree | 68242c48d68873c389fc626b59e559aef7a68a6b /addressbook/backend/ebook/test-card.c | |
parent | 47a7a91181664a44dfaec53a16c95f81364a7ab7 (diff) | |
download | gsoc2013-evolution-6916d03ad63e4a4b63f065ef2f445d51eb2bb224.tar gsoc2013-evolution-6916d03ad63e4a4b63f065ef2f445d51eb2bb224.tar.gz gsoc2013-evolution-6916d03ad63e4a4b63f065ef2f445d51eb2bb224.tar.bz2 gsoc2013-evolution-6916d03ad63e4a4b63f065ef2f445d51eb2bb224.tar.lz gsoc2013-evolution-6916d03ad63e4a4b63f065ef2f445d51eb2bb224.tar.xz gsoc2013-evolution-6916d03ad63e4a4b63f065ef2f445d51eb2bb224.tar.zst gsoc2013-evolution-6916d03ad63e4a4b63f065ef2f445d51eb2bb224.zip |
Use "\r" rather than including literal CRs in the string, which confuses
* backend/ebook/test-client.c (TEST_VCARD): Use "\r" rather than
including literal CRs in the string, which confuses gcc on OS X.
* backend/ebook/test-card.c (TEST_VCARD): Likewise.
svn path=/trunk/; revision=17722
Diffstat (limited to 'addressbook/backend/ebook/test-card.c')
-rw-r--r-- | addressbook/backend/ebook/test-card.c | 47 |
1 files changed, 16 insertions, 31 deletions
diff --git a/addressbook/backend/ebook/test-card.c b/addressbook/backend/ebook/test-card.c index b17dc62174..d625214bfd 100644 --- a/addressbook/backend/ebook/test-card.c +++ b/addressbook/backend/ebook/test-card.c @@ -3,37 +3,22 @@ #include <libgnomeui/gnome-init.h> #include "e-card.h" -#define TEST_VCARD \ -"BEGIN:VCARD -" \ -"FN:Nat -" \ -"N:Friedman;Nat;D;Mr. -" \ -"ORG:Ximian, Inc. -" \ -"TITLE:Head Geek -" \ -"ROLE:Programmer/Executive -" \ -"BDAY:1977-08-06 -" \ -"TEL;WORK:617 679 1984 -" \ -"TEL;CELL:123 456 7890 -" \ -"EMAIL;INTERNET:nat@nat.org -" \ -"EMAIL;INTERNET:nat@ximian.com -" \ -"ADR;WORK;POSTAL:P.O. Box 101;;;Any Town;CA;91921-1234; -" \ -"ADR;HOME;POSTAL;INTL:P.O. Box 202;;;Any Town 2;MI;12344-4321;USA -" \ -"END:VCARD -" \ -" -" +#define TEST_VCARD \ +"BEGIN:VCARD\r\n" \ +"FN:Nat\r\n" \ +"N:Friedman;Nat;D;Mr.\r\n" \ +"ORG:Ximian, Inc.\r\n" \ +"TITLE:Head Geek\r\n" \ +"ROLE:Programmer/Executive\r\n" \ +"BDAY:1977-08-06\r\n" \ +"TEL;WORK:617 679 1984\r\n" \ +"TEL;CELL:123 456 7890\r\n" \ +"EMAIL;INTERNET:nat@nat.org\r\n" \ +"EMAIL;INTERNET:nat@ximian.com\r\n" \ +"ADR;WORK;POSTAL:P.O. Box 101;;;Any Town;CA;91921-1234;\r\n" \ +"ADR;HOME;POSTAL;INTL:P.O. Box 202;;;Any Town 2;MI;12344-4321;USA\r\n" \ +"END:VCARD\r\n" \ +"\r\n" static char * read_file (char *name) |