input.c: fix typo ('&' should be '&&')

Found by GCC 4.8.3 on Cygwin.