From 5e87f04a466dbc6961f7566860a415ef203835b6 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Sun, 17 Feb 2002 15:37:41 +0000 Subject: [PATCH] Another crashfix git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2501 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- src/fe-common/core/formats.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/fe-common/core/formats.c b/src/fe-common/core/formats.c index 11a932ed..8991164a 100644 --- a/src/fe-common/core/formats.c +++ b/src/fe-common/core/formats.c @@ -972,6 +972,7 @@ void format_send_to_gui(TEXT_DEST_REC *dest, const char *text) while (*ptr != ',' && *ptr != '\0') ptr++; if (*ptr != '\0') *ptr++ = '\0'; + ptr--; signal_emit_id(signal_gui_print_text, 6, dest->window, NULL, NULL, GINT_TO_POINTER(GUI_PRINT_FLAG_INDENT_FUNC),