aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/dialogs/comp-editor-util.c
diff options
context:
space:
mode:
authorRodrigo Moya <rodrigo@ximian.com>2002-11-08 00:18:38 +0800
committerRodrigo Moya <rodrigo@src.gnome.org>2002-11-08 00:18:38 +0800
commit55434d946738ae03c2c841002204baa3bdd7ce1f (patch)
treed213f5a38ccfe18b2f86dd37a51e352e235842e9 /calendar/gui/dialogs/comp-editor-util.c
parentff4b4e7ed3c2450a7d9d565f7ef1a734f009710e (diff)
downloadgsoc2013-evolution-55434d946738ae03c2c841002204baa3bdd7ce1f.tar.gz
gsoc2013-evolution-55434d946738ae03c2c841002204baa3bdd7ce1f.tar.zst
gsoc2013-evolution-55434d946738ae03c2c841002204baa3bdd7ce1f.zip
converted to BonoboObject.
2002-11-07 Rodrigo Moya <rodrigo@ximian.com> * cal-client/query-listener.[ch]: converted to BonoboObject. * gui/dialogs/comp-editor-util.c (parse_contact_string): use glib's g_utf8_strchr. * gui/dialogs/delete-comp.c: removed non-existant headers. Use GtkStock instead of GnomeStock. * gui/dialogs/e-delegate-dialog.c: converted to BonoboActivation. (e_delegate_dialog_construct): adapted to changes in glade_xml_new. svn path=/trunk/; revision=18632
Diffstat (limited to 'calendar/gui/dialogs/comp-editor-util.c')
-rw-r--r--calendar/gui/dialogs/comp-editor-util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/calendar/gui/dialogs/comp-editor-util.c b/calendar/gui/dialogs/comp-editor-util.c
index 165cd43744..c60c416087 100644
--- a/calendar/gui/dialogs/comp-editor-util.c
+++ b/calendar/gui/dialogs/comp-editor-util.c
@@ -379,8 +379,8 @@ parse_contact_string (const char *value, char **name, char **email)
return;
}
- lbracket = g_utf8_strchr (value, '<');
- rbracket = g_utf8_strchr (value, '>');
+ lbracket = g_utf8_strchr (value, g_utf8_strlen (value, 0), '<');
+ rbracket = g_utf8_strchr (value, g_utf8_strlen (value, 0), '>');
if (!lbracket || !rbracket || rbracket < lbracket) {
*name = g_strdup (value);