make style

This commit is contained in:
Philippe Teuwen 2019-07-13 00:38:30 +02:00
commit b0dbbd3683
15 changed files with 55 additions and 56 deletions

View file

@ -61,8 +61,7 @@ int kbd_enter_pressed(void) {
#include <conio.h> #include <conio.h>
int kbd_enter_pressed(void) { int kbd_enter_pressed(void) {
int ret = 0; int ret = 0;
while(kbhit()) while (kbhit()) {
{
ret |= getch() == '\r'; ret |= getch() == '\r';
} }
return ret; return ret;