Mercurial > pidgin.yaz
comparison src/buddy.c @ 4806:315ef59a5031
[gaim-migrate @ 5126]
this pales in comparison, but it's good. I promise.
committer: Tailor Script <tailor@pidgin.im>
author | Nathan Walp <nwalp@pidgin.im> |
---|---|
date | Mon, 17 Mar 2003 04:19:24 +0000 |
parents | 9561a1104131 |
children | 0abbbeec0ee8 |
comparison
equal
deleted
inserted
replaced
4805:a7e99eb2c0f2 | 4806:315ef59a5031 |
---|---|
819 | 819 |
820 if (prpl->status_text) { | 820 if (prpl->status_text) { |
821 char *tmp = prpl->status_text(b); | 821 char *tmp = prpl->status_text(b); |
822 | 822 |
823 if(tmp) { | 823 if(tmp) { |
824 g_strdelimit(tmp, "\n", ' '); | |
824 if(strlen(tmp) > 20) | 825 if(strlen(tmp) > 20) |
825 statustext = g_strdup_printf("%.20s... ", tmp); | 826 statustext = g_strdup_printf("%.20s... ", tmp); |
826 else | 827 else |
827 statustext = g_strdup_printf("%s ", tmp); | 828 statustext = g_strdup_printf("%s ", tmp); |
828 g_free(tmp); | 829 g_free(tmp); |