From 631650bd8ab467af8347b5d9b51b2b0193adfe63 Mon Sep 17 00:00:00 2001 From: ailin-nemui Date: Mon, 7 May 2018 21:22:43 +0200 Subject: Revert "record line info on empty lines" --- src/fe-common/core/formats.c | 9 --------- 1 file changed, 9 deletions(-) (limited to 'src/fe-common/core/formats.c') diff --git a/src/fe-common/core/formats.c b/src/fe-common/core/formats.c index 8ad4b3af..4c819c2d 100644 --- a/src/fe-common/core/formats.c +++ b/src/fe-common/core/formats.c @@ -1233,15 +1233,6 @@ void format_send_to_gui(TEXT_DEST_REC *dest, const char *text) dup = str = g_strdup(text); flags = 0; fgcolor = theme->default_color; bgcolor = -1; - - if (*str == '\0') { - /* empty line, write line info only */ - signal_emit_id(signal_gui_print_text, 6, dest->window, - GINT_TO_POINTER(fgcolor), - GINT_TO_POINTER(bgcolor), - GINT_TO_POINTER(flags), str, - dest); - } while (*str != '\0') { type = '\0'; for (ptr = str; *ptr != '\0'; ptr++) { -- cgit v1.2.3