fix various little bugs

This commit is contained in:
rsc 2004-08-17 15:32:40 +00:00
parent e3e30cff40
commit 18b0811745
3 changed files with 6 additions and 8 deletions

View file

@ -540,7 +540,7 @@ void copy(void) /* begin input from file, etc. */
FILE *fin;
if (newfile) {
if ((fin = fopen(unsharp(newfile), "r")) == NULL)
if ((fin = fopen(newfile, "r")) == NULL)
ERROR "can't open file %s", newfile FATAL;
curfile++;
curfile->fin = fin;