input_readch must return R_EOF instead of WEOF. Fixes #1452

This commit is contained in:
ridiculousfish 2014-05-25 15:22:21 -07:00
parent a983318501
commit 655293ece9

View File

@ -710,7 +710,7 @@ wint_t input_readch()
{
case R_EOF: /* If it's closed, then just return */
{
return WEOF;
return R_EOF;
}
case R_SELF_INSERT:
{