aboutsummaryrefslogtreecommitdiffstats
path: root/src/url.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/url.c')
-rw-r--r--src/url.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/url.c b/src/url.c
index 1251b06b6..3db6b05b6 100644
--- a/src/url.c
+++ b/src/url.c
@@ -1124,6 +1124,10 @@ url_email_start (const gchar *begin, const gchar *end, const gchar *pos, url_mat
match->m_begin = p + 1;
return TRUE;
}
+ else if (p == begin) {
+ match->m_begin = p;
+ return TRUE;
+ }
}
else {
p = pos + strlen (match->pattern);