Mercurial > pidgin
changeset 3153:fb4393b3da5f
[gaim-migrate @ 3169]
bugfix
committer: Tailor Script <tailor@pidgin.im>
author | Sean Egan <seanegan@gmail.com> |
---|---|
date | Tue, 16 Apr 2002 15:04:28 +0000 |
parents | 0697a3ad9f3b |
children | a0a0b00f214b |
files | src/util.c |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/util.c Tue Apr 16 02:12:16 2002 +0000 +++ b/src/util.c Tue Apr 16 15:04:28 2002 +0000 @@ -288,8 +288,10 @@ while (flag) { if (badchar(*t)) { - if (*(t - 1) == '.') + if (*(t - 1) == '.') { + url_buf[t-c] = '\0'; t--; + } cnt += g_snprintf(&text[cnt], 1024, "<A HREF=\"mailto:%s\">%s</A>", url_buf, url_buf);