Fixed: chatclient sample compilation

hg/feature/sound
kervala 14 years ago
parent e77e93f779
commit ce933b4c41

@ -71,8 +71,8 @@ int getch()
peek_character = -1;
return ch;
}
if (read(STDIN_FILENO,&ch,1) != 1)
nlwarning("Can't read keyboard");
if (read(STDIN_FILENO,&ch,1) != 1) return ' ';
return ch;
}

Loading…
Cancel
Save