From f5d38ab5a264cf94bfab1db371042b8513a9767e Mon Sep 17 00:00:00 2001 From: Wouter Coekaerts Date: Sat, 15 Nov 2008 22:04:57 +0000 Subject: 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 --- src/fe-text/textbuffer.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/fe-text/textbuffer.c') diff --git a/src/fe-text/textbuffer.c b/src/fe-text/textbuffer.c index 5a5a6b5c..abef27c4 100644 --- a/src/fe-text/textbuffer.c +++ b/src/fe-text/textbuffer.c @@ -453,6 +453,8 @@ void textbuffer_line2text(LINE_REC *line, int coloring, GString *str) '0', FORMAT_COLOR_NOCHANGE); break; case LINE_CMD_INDENT: + g_string_sprintfa(str, "\004%c", + FORMAT_STYLE_INDENT); break; case LINE_CMD_INDENT_FUNC: ptr += sizeof(void *); -- cgit v1.2.3