ctk-curses: C89
At least Haiku still uses gcc2 by default.
This commit is contained in:
parent
54199d7121
commit
56f11e7524
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue