summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2011-08-22 20:25:21 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2011-08-22 20:25:21 (GMT)
commit9bec43c45b6ef1b1b344b86267d5c276f7e44af7 (patch)
tree607e373c7f690f139f6eba7d56919621781287b1 /src
parent42938cc2ea193a8a4f4a09639292f97fd1590478 (diff)
downloadpowder-9bec43c45b6ef1b1b344b86267d5c276f7e44af7.zip
powder-9bec43c45b6ef1b1b344b86267d5c276f7e44af7.tar.gz
Stray bracket, not cat+keyboard
Diffstat (limited to 'src')
-rw-r--r--src/luaconsole.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/luaconsole.c b/src/luaconsole.c
index 9d281c2..6f58634 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]);