diff options
| author | Simon Robertshaw <simon@hardwired.org.uk> | 2011-08-22 20:22:21 (GMT) |
|---|---|---|
| committer | Simon Robertshaw <simon@hardwired.org.uk> | 2011-08-22 20:22:21 (GMT) |
| commit | 42938cc2ea193a8a4f4a09639292f97fd1590478 (patch) | |
| tree | a0daf724e0dae8bc2ebb1b29018fd7277ac82318 /includes | |
| parent | ac6feec87451b9a28e3e1546c1d7421dc550c272 (diff) | |
| download | powder-42938cc2ea193a8a4f4a09639292f97fd1590478.zip powder-42938cc2ea193a8a4f4a09639292f97fd1590478.tar.gz | |
Lua keyevents bug, int keycode is cast to a char
Diffstat (limited to 'includes')
| -rw-r--r-- | includes/luaconsole.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/luaconsole.h b/includes/luaconsole.h index 5a5ca2b..6bc1bca 100644 --- a/includes/luaconsole.h +++ b/includes/luaconsole.h @@ -20,7 +20,7 @@ void luacon_open(); int luacon_step(int mx, int my); int luacon_mouseevent(int mx, int my, int mb, int event); -int luacon_keyevent(char key, int modifier, int event); +int luacon_keyevent(int key, int modifier, int event); int luacon_eval(char *command); char *luacon_geterror(); void luacon_close(); |
