diff options
author | Timo Sirainen <cras@irssi.org> | 2000-09-29 23:57:30 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2000-09-29 23:57:30 +0000 |
commit | 3eea53d2ee1691a75e2dea5bc8ae2930780976f5 (patch) | |
tree | 367a48f5ed3e5b95db88ed147b26e681aa2093ec /src/fe-common | |
parent | 359453abb06a7f57b419bafdd0085b7909fa8650 (diff) | |
download | irssi-3eea53d2ee1691a75e2dea5bc8ae2930780976f5.zip |
minor updates
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@696 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/fe-common')
-rw-r--r-- | src/fe-common/core/printtext.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/fe-common/core/printtext.c b/src/fe-common/core/printtext.c index 6566bfa4..16ffe62c 100644 --- a/src/fe-common/core/printtext.c +++ b/src/fe-common/core/printtext.c @@ -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); |