eval: fix typo

modified:   eval.c
This commit is contained in:
KO Myung-Hun 2017-01-19 16:36:18 +09:00
parent a5da1fa0b6
commit 87cea30045
1 changed files with 1 additions and 1 deletions

2
eval.c
View File

@ -890,7 +890,7 @@ expand(
if (c == '\r') {
c = shf_getc(x.u.shf);
if (c == -1)
c == '\r';
c = '\r';
else if (c != '\n')
shf_ungetc(c, x.u.shf);
}