summaryrefslogtreecommitdiff
path: root/src/gui/curses
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/curses')
-rw-r--r--src/gui/curses/gui-display.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gui/curses/gui-display.c b/src/gui/curses/gui-display.c
index c43718e76..6ef9765ae 100644
--- a/src/gui/curses/gui-display.c
+++ b/src/gui/curses/gui-display.c
@@ -2600,6 +2600,12 @@ gui_printf_type_color (t_gui_buffer *buffer, int type, int color, char *message,
}
}
+ if (buffer->dcc)
+ buffer = gui_buffers;
+
+ if (buffer->dcc)
+ return;
+
va_start (argptr, message);
vsnprintf (buf, sizeof (buf) - 1, message, argptr);
va_end (argptr);