git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@9209 f3b2605a-c512-4ea7-a41b-209d697bcdaa

This commit is contained in:
sjplimp
2013-01-03 19:10:11 +00:00
parent 2f87c0a14d
commit 7f95feb0e4

View File

@ -182,8 +182,8 @@ void Input::file()
// echo the command unless scanning for label // echo the command unless scanning for label
if (me == 0 && label_active == 0) { if (me == 0 && label_active == 0) {
if (echo_screen && screen) fprintf(screen,"%s",line); if (echo_screen && screen) fprintf(screen,"%s\n",line);
if (echo_log && logfile) fprintf(logfile,"%s",line); if (echo_log && logfile) fprintf(logfile,"%s\n",line);
} }
// parse the line // parse the line
@ -417,8 +417,8 @@ void Input::substitute(char *&str, char *&str2, int &max1, int &max2, int flag)
strcpy(str,str2); strcpy(str,str2);
ptr += strlen(value); ptr += strlen(value);
if (flag && me == 0 && label_active == 0) { if (flag && me == 0 && label_active == 0) {
if (echo_screen && screen) fprintf(screen,"%s",str); if (echo_screen && screen) fprintf(screen,"%s\n",str);
if (echo_log && logfile) fprintf(logfile,"%s",str); if (echo_log && logfile) fprintf(logfile,"%s\n",str);
} }
continue; continue;
} }