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
|
char
|
||||||
ctk_arch_getkey(void)
|
ctk_arch_getkey(void)
|
||||||
{
|
{
|
||||||
|
char k;
|
||||||
console_read();
|
console_read();
|
||||||
char k = keys[keys_out++];
|
k = keys[keys_out++];
|
||||||
|
|
||||||
available--;
|
available--;
|
||||||
return k;
|
return k;
|
||||||
|
|
Loading…
Reference in a new issue