Mercurial > pidgin.yaz
changeset 927:9b04a3419351
[gaim-migrate @ 937]
Fixed the linkifier even more.
committer: Tailor Script <tailor@pidgin.im>
author | Rob Flynn <gaim@robflynn.com> |
---|---|
date | Mon, 18 Sep 2000 18:58:03 +0000 |
parents | e62e9a78d98d |
children | 44f65bde9208 |
files | src/util.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/util.c Mon Sep 18 18:07:38 2000 +0000 +++ b/src/util.c Mon Sep 18 18:58:03 2000 +0000 @@ -259,7 +259,7 @@ char illegal_chars[] = "!@#$%^&*()[]{}/\\<>\":;\0"; url_buf[0] = 0; - if (*(c-1) == ' ' || *(c+1) == ' ' || rindex(illegal_chars, *(c+1))) + if (*(c-1) == ' ' || *(c+1) == ' ' || rindex(illegal_chars, *(c+1)) || *(c+1) == 13 || *(c+1) == 10) flag = 0; else flag = 1;