mirror of
https://github.com/irssi/irssi.git
synced 2026-08-19 16:42:30 +02:00
Handle indent in textbuffer_line2text. This fixes indentation in /lastlog and buf.pl.
git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4910 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
621761cff3
commit
f5d38ab5a2
1 changed files with 2 additions and 0 deletions
|
|
@ -453,6 +453,8 @@ void textbuffer_line2text(LINE_REC *line, int coloring, GString *str)
|
||||||
'0', FORMAT_COLOR_NOCHANGE);
|
'0', FORMAT_COLOR_NOCHANGE);
|
||||||
break;
|
break;
|
||||||
case LINE_CMD_INDENT:
|
case LINE_CMD_INDENT:
|
||||||
|
g_string_sprintfa(str, "\004%c",
|
||||||
|
FORMAT_STYLE_INDENT);
|
||||||
break;
|
break;
|
||||||
case LINE_CMD_INDENT_FUNC:
|
case LINE_CMD_INDENT_FUNC:
|
||||||
ptr += sizeof(void *);
|
ptr += sizeof(void *);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue