From fd6bd4d8298e64370472fe087d50b1d2486bce22 Mon Sep 17 00:00:00 2001 From: Emanuele Giaquinta Date: Tue, 13 Jan 2009 18:31:31 +0000 Subject: Remove broken and unused format to add an indent function to a line. git-svn-id: file:///var/www/svn.irssi.org/SVN/irssi/trunk@4982 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- src/fe-text/textbuffer.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/fe-text/textbuffer.c') diff --git a/src/fe-text/textbuffer.c b/src/fe-text/textbuffer.c index a8fed004..f078e90e 100644 --- a/src/fe-text/textbuffer.c +++ b/src/fe-text/textbuffer.c @@ -138,8 +138,6 @@ static void text_chunk_line_free(TEXT_BUFFER_REC *buffer, LINE_REC *line) break; text = tmp-1; - } else if (cmd == LINE_CMD_INDENT_FUNC) { - text += sizeof(int (*) ()); } } } @@ -446,9 +444,6 @@ void textbuffer_line2text(LINE_REC *line, int coloring, GString *str) g_string_sprintfa(str, "\004%c", FORMAT_STYLE_INDENT); break; - case LINE_CMD_INDENT_FUNC: - ptr += sizeof(void *); - break; } } } -- cgit v1.2.3