comparison src/util.c @ 6397:b6d204635cd2

[gaim-migrate @ 6902] I think this might solve the problem of ever-expanding profiles on win32 committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Wed, 06 Aug 2003 19:36:53 +0000
parents 6e24de5efdb2
children 650e9b73ba38
comparison
equal deleted inserted replaced
6396:144aa76a1513 6397:b6d204635cd2
691 while (dest < end) { 691 while (dest < end) {
692 if (*src == '\n' && dest < end - 5) { 692 if (*src == '\n' && dest < end - 5) {
693 strcpy(dest, "<BR>"); 693 strcpy(dest, "<BR>");
694 src++; 694 src++;
695 dest += 4; 695 dest += 4;
696 } else if(*src == '\r') {
697 src++;
696 } else { 698 } else {
697 *dest++ = *src; 699 *dest++ = *src;
698 if (*src == '\0') 700 if (*src == '\0')
699 return; 701 return;
700 else 702 else