aboutsummaryrefslogtreecommitdiffstats
path: root/libical/src
diff options
context:
space:
mode:
authorJP Rosevear <jpr@ximian.com>2002-07-26 21:52:41 +0800
committerJP Rosevear <jpr@src.gnome.org>2002-07-26 21:52:41 +0800
commit3c92b86460dce7b6e8d19de939ce4a65a01b55b7 (patch)
tree4e5a4cda6e9bfaada7c0ab763ec7b514a3e0448e /libical/src
parent8e9f05296dc94e81c917de33c971b5faf99ee90e (diff)
downloadgsoc2013-evolution-3c92b86460dce7b6e8d19de939ce4a65a01b55b7.tar
gsoc2013-evolution-3c92b86460dce7b6e8d19de939ce4a65a01b55b7.tar.gz
gsoc2013-evolution-3c92b86460dce7b6e8d19de939ce4a65a01b55b7.tar.bz2
gsoc2013-evolution-3c92b86460dce7b6e8d19de939ce4a65a01b55b7.tar.lz
gsoc2013-evolution-3c92b86460dce7b6e8d19de939ce4a65a01b55b7.tar.xz
gsoc2013-evolution-3c92b86460dce7b6e8d19de939ce4a65a01b55b7.tar.zst
gsoc2013-evolution-3c92b86460dce7b6e8d19de939ce4a65a01b55b7.zip
Update timezones (from Damon)
2002-06-18 JP Rosevear <jpr@ximian.com> * Update timezones (from Damon) 2002-06-07 JP Rosevear <jpr@ximian.com> * src/libical/icalparameter.c (icalparameter_as_ical_string): quote if the item contains a comma svn path=/trunk/; revision=17602
Diffstat (limited to 'libical/src')
-rw-r--r--libical/src/libical/icalparameter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libical/src/libical/icalparameter.c b/libical/src/libical/icalparameter.c
index 7e0d15cef3..c5eae775a6 100644
--- a/libical/src/libical/icalparameter.c
+++ b/libical/src/libical/icalparameter.c
@@ -248,7 +248,7 @@ icalparameter_as_ical_string (icalparameter* parameter)
int qm = 0;
/* Encapsulate the property in quotes if necessary */
- if (strchr (impl->string, ';') != 0 || strchr (impl->string, ':') != 0) {
+ if (strpbrk(impl->string, ";:,") != 0) {
icalmemory_append_char (&buf, &buf_ptr, &buf_size, '"');
qm = 1;
}