mirror of
https://github.com/irssi/irssi.git
synced 2024-09-01 04:14:16 -04:00
Fix indentation.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4737 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
a3021ccf5f
commit
496d82ac48
@ -141,9 +141,9 @@ static void cmd_cat(const char *data)
|
|||||||
buf = g_string_sized_new(512);
|
buf = g_string_sized_new(512);
|
||||||
while (g_io_channel_read_line_string(handle, buf, &tpos, NULL) == G_IO_STATUS_NORMAL) {
|
while (g_io_channel_read_line_string(handle, buf, &tpos, NULL) == G_IO_STATUS_NORMAL) {
|
||||||
buf->str[tpos] = '\0';
|
buf->str[tpos] = '\0';
|
||||||
printtext(NULL, NULL, MSGLEVEL_CLIENTCRAP |
|
printtext(NULL, NULL, MSGLEVEL_CLIENTCRAP |
|
||||||
MSGLEVEL_NEVER, "%s", buf->str);
|
MSGLEVEL_NEVER, "%s", buf->str);
|
||||||
}
|
}
|
||||||
g_string_free(buf, TRUE);
|
g_string_free(buf, TRUE);
|
||||||
|
|
||||||
g_io_channel_close(handle);
|
g_io_channel_close(handle);
|
||||||
|
@ -148,7 +148,7 @@ static int show_help_file(const char *file)
|
|||||||
buf->str[tpos] = '\0';
|
buf->str[tpos] = '\0';
|
||||||
g_string_prepend(buf, "%|");
|
g_string_prepend(buf, "%|");
|
||||||
printtext_string(NULL, NULL, MSGLEVEL_CLIENTCRAP, buf->str);
|
printtext_string(NULL, NULL, MSGLEVEL_CLIENTCRAP, buf->str);
|
||||||
}
|
}
|
||||||
g_string_free(buf, TRUE);
|
g_string_free(buf, TRUE);
|
||||||
|
|
||||||
g_io_channel_close(handle);
|
g_io_channel_close(handle);
|
||||||
|
Loading…
Reference in New Issue
Block a user