mirror of
https://github.com/irssi/irssi.git
synced 2026-08-09 20:00:23 +02:00
minor updates
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@696 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
359453abb0
commit
3eea53d2ee
6 changed files with 10 additions and 1 deletions
|
|
@ -940,6 +940,9 @@ void printtext_multiline(void *server, const char *channel, int level, const cha
|
|||
{
|
||||
char **lines, **tmp;
|
||||
|
||||
g_return_if_fail(format != NULL);
|
||||
g_return_if_fail(text != NULL);
|
||||
|
||||
lines = g_strsplit(text, "\n", -1);
|
||||
for (tmp = lines; *tmp != NULL; tmp++)
|
||||
printtext(NULL, NULL, MSGLEVEL_NEVER, format, *tmp);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue