diff --git a/src/frontend/runcoms.c b/src/frontend/runcoms.c index ccf03c531..ed1664d17 100644 --- a/src/frontend/runcoms.c +++ b/src/frontend/runcoms.c @@ -176,9 +176,9 @@ dosim(char *what, wordlist *wl) } if (cp_getvar("filetype", VT_STRING, buf)) { - if (eq(buf, "binary") || eq(buf, "{binary}")) + if (eq(buf, "binary")) ascii = FALSE; - else if (eq(buf, "ascii") || eq(buf, "{ascii}")) + else if (eq(buf, "ascii")) ascii = TRUE; else fprintf(cp_err, diff --git a/src/frontend/runcoms2.c b/src/frontend/runcoms2.c index 974fc5c9f..8f0c8b4c2 100644 --- a/src/frontend/runcoms2.c +++ b/src/frontend/runcoms2.c @@ -82,10 +82,10 @@ com_resume(wordlist *wl) dofile = TRUE; if (cp_getvar("filetype", VT_STRING, buf)) { - if (eq(buf, "binary") || eq(buf, "{binary}")) + if (eq(buf, "binary")) ascii = FALSE; - else if (eq(buf, "ascii") || eq(buf, "{ascii}")) - ascii = TRUE; + else if (eq(buf, "ascii")) + ascii = TRUE; else fprintf(cp_err, "Warning: strange file type \"%s\" (using \"ascii\")\n",