use new MKSH_WITH_TEXTMODE for several of the #ifdefs

This commit is contained in:
mirabilos
2017-04-02 16:41:01 +02:00
parent 7fb9d283c5
commit a6619d1ef2
5 changed files with 10 additions and 10 deletions

4
eval.c
View File

@ -880,11 +880,11 @@ expand(
--newlines;
} else {
while ((c = shf_getc(x.u.shf)) == 0 ||
#ifdef __OS2__
#ifdef MKSH_WITH_TEXTMODE
c == '\r' ||
#endif
c == '\n') {
#ifdef __OS2__
#ifdef MKSH_WITH_TEXTMODE
if (c == '\r') {
c = shf_getc(x.u.shf);
switch (c) {