summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/fe-text/textbuffer.c2
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 *);