From 038e61197479865d15cb6ef686e80e47bf2fd843 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sat, 5 Apr 2003 17:22:35 +0000 Subject: better error msgs --- plugins/keyboard/keyparse.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/keyboard') diff --git a/plugins/keyboard/keyparse.c b/plugins/keyboard/keyparse.c index 15f6e0c5..ba283dd8 100644 --- a/plugins/keyboard/keyparse.c +++ b/plugins/keyboard/keyparse.c @@ -21,7 +21,7 @@ void keyparse(ParseToken *token) top = token->data.identifier; return; } else { - yyerror("syntax error (expected Key)"); + yyerror("syntax error (expected kbind)"); err = TRUE; } } else if (chain == NULL) { @@ -95,7 +95,7 @@ void keyparse(ParseToken *token) if (kbind(strchain, action)) action = NULL; /* don't free this if kbind succeeds */ else - yyerror("failed to add binding"); + yyerror("failed to add key binding"); /* free the char*'s */ g_list_free(strchain); -- cgit v1.2.3