comparison src/util.c @ 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 3805d9d344f2
children d05dc05bde8a
comparison
equal deleted inserted replaced
3152:0697a3ad9f3b 3153:fb4393b3da5f
286 286
287 t = c + 1; 287 t = c + 1;
288 288
289 while (flag) { 289 while (flag) {
290 if (badchar(*t)) { 290 if (badchar(*t)) {
291 if (*(t - 1) == '.') 291 if (*(t - 1) == '.') {
292 url_buf[t-c] = '\0';
292 t--; 293 t--;
294 }
293 cnt += g_snprintf(&text[cnt], 1024, 295 cnt += g_snprintf(&text[cnt], 1024,
294 "<A HREF=\"mailto:%s\">%s</A>", url_buf, 296 "<A HREF=\"mailto:%s\">%s</A>", url_buf,
295 url_buf); 297 url_buf);
296 text[cnt] = 0; 298 text[cnt] = 0;
297 299