merged silencing of warnings from RC_0_16

This commit is contained in:
Arvid Norberg
2013-06-14 16:41:47 +00:00
parent f91d83434b
commit 50ecb07d19
11 changed files with 33 additions and 16 deletions

View File

@@ -1557,7 +1557,7 @@ int main(int argc, char* argv[])
int c = 0;
while (sleep_and_input(&c, refresh_delay))
{
if (c == EOF) { c = 'q'; break; }
if (c == EOF) { break; }
if (c == 27)
{
// escape code, read another character
@@ -1566,7 +1566,7 @@ int main(int argc, char* argv[])
#else
int c = getc(stdin);
#endif
if (c == EOF) { c = 'q'; break; }
if (c == EOF) { break; }
if (c != '[') continue;
#ifdef _WIN32
c = _getch();