Mercurial > pidgin.yaz
diff src/util.c @ 2228:07c6d1d3e3fd
[gaim-migrate @ 2238]
fix importing blt's that are dos-ified.
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Thu, 06 Sep 2001 22:08:39 +0000 |
parents | 757e10018950 |
children | bd9d403fb15b |
line wrap: on
line diff
--- a/src/util.c Thu Sep 06 20:46:06 2001 +0000 +++ b/src/util.c Thu Sep 06 22:08:39 2001 +0000 @@ -1016,7 +1016,8 @@ buddy = remove_spaces(line); strcat(dest, "b "); if (strchr(buddy, '\"') != NULL) { - strncat(dest, &buddy[1], strlen(buddy) - 3); + buddy++; + strncat(dest, buddy, strchr(buddy, '\"') - buddy); strcat(dest, "\n"); } else strcat(dest, buddy);