diff options
author | Wouter Coekaerts <coekie@irssi.org> | 2008-11-15 22:04:57 +0000 |
---|---|---|
committer | coekie <coekie@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2008-11-15 22:04:57 +0000 |
commit | f5d38ab5a264cf94bfab1db371042b8513a9767e (patch) | |
tree | 9936ef5202a579d00661ccc6cb3b5c3b5b25489f /src | |
parent | 621761cff31437baa2a154e95c6f2461c3bcaf23 (diff) | |
download | irssi-f5d38ab5a264cf94bfab1db371042b8513a9767e.zip |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/fe-text/textbuffer.c | 2 |
1 files changed, 2 insertions, 0 deletions
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 *); |