aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@src.gnome.org>2003-02-15 04:44:39 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2003-02-15 04:44:39 +0800
commit8b79f2dff464221e65f8c09b75c47182fea29f38 (patch)
treeaaef4bcce4da03b60fb9bdc2e0fbdcf31acbfb23
parente63ba441e610e2b137b4bf986cc839d140eb9c52 (diff)
downloadgsoc2013-evolution-8b79f2dff464221e65f8c09b75c47182fea29f38.tar.gz
gsoc2013-evolution-8b79f2dff464221e65f8c09b75c47182fea29f38.tar.zst
gsoc2013-evolution-8b79f2dff464221e65f8c09b75c47182fea29f38.zip
watch for <>'s too
svn path=/trunk/; revision=19914
-rw-r--r--camel/camel-url-scanner.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/camel/camel-url-scanner.c b/camel/camel-url-scanner.c
index fb059b8369..4419d43bb6 100644
--- a/camel/camel-url-scanner.c
+++ b/camel/camel-url-scanner.c
@@ -233,6 +233,7 @@ static struct {
{ '(', ')' },
{ '{', '}' },
{ '[', ']' },
+ { '<', '>' },
};
static char
@@ -241,7 +242,7 @@ url_stop_at_brace (const char *in, size_t so)
int i;
if (so > 0) {
- for (i = 0; i < 3; i++) {
+ for (i = 0; i < 4; i++) {
if (in[so - 1] == url_braces[i].open)
return url_braces[i].close;
}