ctk-curses: C89

At least Haiku still uses gcc2 by default.
This commit is contained in:
François Revol 2013-03-26 08:51:37 +01:00
parent 54199d7121
commit 56f11e7524

View file

@ -432,8 +432,9 @@ console_read(void)
char
ctk_arch_getkey(void)
{
char k;
console_read();
char k = keys[keys_out++];
k = keys[keys_out++];
available--;
return k;