From 9bec43c45b6ef1b1b344b86267d5c276f7e44af7 Mon Sep 17 00:00:00 2001 From: Simon Robertshaw Date: Mon, 22 Aug 2011 21:25:21 +0100 Subject: [PATCH] Stray bracket, not cat+keyboard --- src/luaconsole.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/luaconsole.c b/src/luaconsole.c index 9d281c27c..6f586340e 100644 --- a/src/luaconsole.c +++ b/src/luaconsole.c @@ -76,7 +76,7 @@ void luacon_open(){ } int luacon_keyevent(int key, int modifier, int event){ int i = 0, kpcontinue = 1; - char tempkey[] = {(key, 0}; + char tempkey[] = {key, 0}; if(keypress_function_count){ for(i = 0; i < keypress_function_count && kpcontinue; i++){ lua_rawgeti(l, LUA_REGISTRYINDEX, keypress_functions[i]);