summaryrefslogtreecommitdiff
path: root/src/fe-common/core/formats.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fe-common/core/formats.c')
-rw-r--r--src/fe-common/core/formats.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/fe-common/core/formats.c b/src/fe-common/core/formats.c
index e014583c..2a0faa38 100644
--- a/src/fe-common/core/formats.c
+++ b/src/fe-common/core/formats.c
@@ -703,7 +703,7 @@ void format_newline(WINDOW_REC *window)
signal_emit_id(signal_gui_print_text, 6, window,
GINT_TO_POINTER(-1), GINT_TO_POINTER(-1),
GINT_TO_POINTER(GUI_PRINT_FLAG_NEWLINE),
- "", GINT_TO_POINTER(-1));
+ "", NULL);
}
/* parse ANSI color string */
@@ -956,7 +956,7 @@ void format_send_to_gui(TEXT_DEST_REC *dest, const char *text)
GINT_TO_POINTER(fgcolor),
GINT_TO_POINTER(bgcolor),
GINT_TO_POINTER(flags), str,
- dest->level);
+ dest);
flags &= ~(GUI_PRINT_FLAG_INDENT|GUI_PRINT_FLAG_CLRTOEOL);
}
@@ -1009,7 +1009,7 @@ void format_send_to_gui(TEXT_DEST_REC *dest, const char *text)
signal_emit_id(signal_gui_print_text, 6,
dest->window, NULL, NULL,
GINT_TO_POINTER(GUI_PRINT_FLAG_INDENT_FUNC),
- str, start, dest->level);
+ str, start, dest);
break;
}
case FORMAT_STYLE_DEFAULTS: