X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=plugins%2Fkeyboard%2Fkeyparse.c;h=ba283dd81d0d03e6102a09700e9f4327c54f51d6;hb=14a842b34c2857385ee7c5a02c870f5aedef0e54;hp=611686418c610b2d881e83bc6f57e93f51b1504f;hpb=7a651f9ff511348bf5b1ebd4eac54c1247e6a4a0;p=chaz%2Fopenbox diff --git a/plugins/keyboard/keyparse.c b/plugins/keyboard/keyparse.c index 61168641..ba283dd8 100644 --- a/plugins/keyboard/keyparse.c +++ b/plugins/keyboard/keyparse.c @@ -17,11 +17,11 @@ void keyparse(ParseToken *token) /* just fall through and free the token */ } else if (top == NULL) { if (token->type == TOKEN_IDENTIFIER && - !g_ascii_strcasecmp("key", token->data.identifier)) { + !g_ascii_strcasecmp("kbind", token->data.identifier)) { 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);