aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2000-06-29 04:37:21 +0800
committerDan Winship <danw@src.gnome.org>2000-06-29 04:37:21 +0800
commit94f71e47c223c13c4b79814c7e6bb56e4b76cb9f (patch)
tree684a97521e3734a0169b151c97f64c03adbf7374
parent7a35ab4d84e81434810901085452556fb3c30c78 (diff)
downloadgsoc2013-evolution-94f71e47c223c13c4b79814c7e6bb56e4b76cb9f.tar
gsoc2013-evolution-94f71e47c223c13c4b79814c7e6bb56e4b76cb9f.tar.gz
gsoc2013-evolution-94f71e47c223c13c4b79814c7e6bb56e4b76cb9f.tar.bz2
gsoc2013-evolution-94f71e47c223c13c4b79814c7e6bb56e4b76cb9f.tar.lz
gsoc2013-evolution-94f71e47c223c13c4b79814c7e6bb56e4b76cb9f.tar.xz
gsoc2013-evolution-94f71e47c223c13c4b79814c7e6bb56e4b76cb9f.tar.zst
gsoc2013-evolution-94f71e47c223c13c4b79814c7e6bb56e4b76cb9f.zip
add ")" to the set of characters to back up over at the end of a potential
* e-html-utils.c (url_extract): add ")" to the set of characters to back up over at the end of a potential URL. svn path=/trunk/; revision=3778
-rw-r--r--e-util/ChangeLog5
-rw-r--r--e-util/e-html-utils.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/e-util/ChangeLog b/e-util/ChangeLog
index ba7f4cc2b0..42e8345601 100644
--- a/e-util/ChangeLog
+++ b/e-util/ChangeLog
@@ -1,3 +1,8 @@
+2000-06-28 Dan Winship <danw@helixcode.com>
+
+ * e-html-utils.c (url_extract): add ")" to the set of characters
+ to back up over at the end of a potential URL.
+
2000-06-27 Ettore Perazzoli <ettore@helixcode.com>
* e-dialog-widgets.c (get_toggle_value): Use `value_var', not
diff --git a/e-util/e-html-utils.c b/e-util/e-html-utils.c
index dc47d0243c..a1f76d4e68 100644
--- a/e-util/e-html-utils.c
+++ b/e-util/e-html-utils.c
@@ -71,7 +71,7 @@ url_extract (const char **text, gboolean check)
end++;
/* Back up if we probably went too far. */
- while (end > *text && strchr (",.!?;:>", *(end - 1)))
+ while (end > *text && strchr (",.!?;:>)", *(end - 1)))
end--;
if (check) {