mirror of
https://github.com/irssi/irssi.git
synced 2024-12-04 14:46:39 -05:00
/HELP: Set indent to 0 when printing text. syntax.pl now changes tabs
to 9 spaces at the start of lines in help files. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1075 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
1dc07c42bd
commit
0a44c31101
@ -131,7 +131,11 @@ static int show_help_rec(COMMAND_REC *cmd)
|
||||
recvlen = read(f, tmpbuf, sizeof(tmpbuf));
|
||||
|
||||
ret = line_split(tmpbuf, recvlen, &str, &buffer);
|
||||
if (ret > 0) printtext_string(NULL, NULL, MSGLEVEL_CLIENTCRAP, str);
|
||||
if (ret > 0) {
|
||||
str = g_strconcat("%|", str, NULL);
|
||||
printtext_string(NULL, NULL, MSGLEVEL_CLIENTCRAP, str);
|
||||
g_free(str);
|
||||
}
|
||||
}
|
||||
while (ret > 0);
|
||||
line_split_free(buffer);
|
||||
|
Loading…
Reference in New Issue
Block a user