summaryrefslogtreecommitdiff
path: root/src/gui/gui-keyboard.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/gui-keyboard.c')
-rw-r--r--src/gui/gui-keyboard.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/gui/gui-keyboard.c b/src/gui/gui-keyboard.c
index 218b286f8..be5f25316 100644
--- a/src/gui/gui-keyboard.c
+++ b/src/gui/gui-keyboard.c
@@ -519,8 +519,8 @@ gui_keyboard_bind (char *key, char *command)
if (!key || !command)
{
- weechat_log_printf (_("%s unable to bind key \"%s\"\n"),
- WEECHAT_ERROR, key);
+ weechat_log_printf (_("Error: unable to bind key \"%s\"\n"),
+ key);
return NULL;
}
@@ -547,8 +547,8 @@ gui_keyboard_bind (char *key, char *command)
}
if (!ptr_function)
{
- weechat_log_printf (_("%s unable to bind key \"%s\" (invalid function name: \"%s\")\n"),
- WEECHAT_ERROR, key, command);
+ weechat_log_printf (_("Error: unable to bind key \"%s\" (invalid function name: \"%s\")\n"),
+ key, command);
return NULL;
}
}
@@ -561,8 +561,7 @@ gui_keyboard_bind (char *key, char *command)
ptr_args);
if (!new_key)
{
- weechat_log_printf (_("%s not enough memory for key binding\n"),
- WEECHAT_ERROR);
+ weechat_log_printf (_("Error: not enough memory for key binding\n"));
return NULL;
}