diff options
Diffstat (limited to 'libical/src/libical/icalparameter.c')
-rw-r--r-- | libical/src/libical/icalparameter.c | 2 |
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; } |