From: Dana Jansens Date: Wed, 26 Mar 2003 13:40:20 +0000 (+0000) Subject: was reversing the keylist X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=8055abe8fb03d6184a35a51a3b86851816660e3f;p=chaz%2Fopenbox was reversing the keylist --- diff --git a/plugins/keyboard/keysrc.yacc b/plugins/keyboard/keysrc.yacc index c1f977e8..3e4eeff6 100644 --- a/plugins/keyboard/keysrc.yacc +++ b/plugins/keyboard/keysrc.yacc @@ -39,8 +39,8 @@ config: ; fields: - FIELD { $$ = g_list_prepend(NULL, $1); } - | fields FIELD { $$ = g_list_prepend($1, $2); } + FIELD { $$ = g_list_append(NULL, $1); } + | fields FIELD { $$ = g_list_append($1, $2); } ; %%