aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/backend
diff options
context:
space:
mode:
Diffstat (limited to 'addressbook/backend')
-rw-r--r--addressbook/backend/ebook/e-destination.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/addressbook/backend/ebook/e-destination.c b/addressbook/backend/ebook/e-destination.c
index 20365491a3..508802b823 100644
--- a/addressbook/backend/ebook/e-destination.c
+++ b/addressbook/backend/ebook/e-destination.c
@@ -319,10 +319,12 @@ e_destination_clear (EDestination *dest)
static gboolean
nonempty (const gchar *s)
{
- while (s) {
- if (! isspace ((gint) *s))
+ gunichar c;
+ while (*s) {
+ c = g_utf8_get_char (s);
+ if (! g_unichar_isspace (c))
return TRUE;
- ++s;
+ s = g_utf8_next_char (s);
}
return FALSE;
}