whitespace cleanup

This commit is contained in:
Axel Kohlmeyer
2013-12-16 11:39:17 +01:00
parent 5904fc2d3d
commit 8f6f5cd63c

View File

@ -238,12 +238,12 @@ void Input::file(const char *filename)
// error if another nested file still open, should not be possible
// open new filename and set infile, infiles[0], nfile
// call to file() will close filename and decrement nfile
if (me == 0) {
if (nfile > 1)
error->one(FLERR,"Invalid use of library file() function");
if (infile && infile != stdin) fclose(infile);
if (infile && infile != stdin) fclose(infile);
infile = fopen(filename,"r");
if (infile == NULL) {
char str[128];