core: fix message with new key added (displayed on current buffer instead of core)

This commit is contained in:
Sebastien Helleu 2011-07-27 09:50:35 +02:00
parent ec12579f47
commit 6bbe3be63f

View File

@ -434,7 +434,7 @@ gui_key_new (struct t_gui_buffer *buffer, int context, const char *key,
if (gui_key_verbose)
{
gui_chat_printf (gui_current_window->buffer,
gui_chat_printf (NULL,
_("New key binding (context \"%s\"): "
"%s%s => %s%s"),
gui_key_context_string[context],