Stray bracket, not cat+keyboard

This commit is contained in:
Simon Robertshaw 2011-08-22 21:25:21 +01:00
parent 42938cc2ea
commit 9bec43c45b

View File

@ -76,7 +76,7 @@ void luacon_open(){
} }
int luacon_keyevent(int key, int modifier, int event){ int luacon_keyevent(int key, int modifier, int event){
int i = 0, kpcontinue = 1; int i = 0, kpcontinue = 1;
char tempkey[] = {(key, 0}; char tempkey[] = {key, 0};
if(keypress_function_count){ if(keypress_function_count){
for(i = 0; i < keypress_function_count && kpcontinue; i++){ for(i = 0; i < keypress_function_count && kpcontinue; i++){
lua_rawgeti(l, LUA_REGISTRYINDEX, keypress_functions[i]); lua_rawgeti(l, LUA_REGISTRYINDEX, keypress_functions[i]);