mirror of https://github.com/lammps/lammps.git
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@9209 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
parent
2f87c0a14d
commit
7f95feb0e4
|
@ -182,8 +182,8 @@ void Input::file()
|
|||
// echo the command unless scanning for label
|
||||
|
||||
if (me == 0 && label_active == 0) {
|
||||
if (echo_screen && screen) fprintf(screen,"%s",line);
|
||||
if (echo_log && logfile) fprintf(logfile,"%s",line);
|
||||
if (echo_screen && screen) fprintf(screen,"%s\n",line);
|
||||
if (echo_log && logfile) fprintf(logfile,"%s\n",line);
|
||||
}
|
||||
|
||||
// parse the line
|
||||
|
@ -417,8 +417,8 @@ void Input::substitute(char *&str, char *&str2, int &max1, int &max2, int flag)
|
|||
strcpy(str,str2);
|
||||
ptr += strlen(value);
|
||||
if (flag && me == 0 && label_active == 0) {
|
||||
if (echo_screen && screen) fprintf(screen,"%s",str);
|
||||
if (echo_log && logfile) fprintf(logfile,"%s",str);
|
||||
if (echo_screen && screen) fprintf(screen,"%s\n",str);
|
||||
if (echo_log && logfile) fprintf(logfile,"%s\n",str);
|
||||
}
|
||||
continue;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue