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

This commit is contained in:
sjplimp 2011-08-06 22:51:50 +00:00
parent 5b4da1971f
commit 090ff6da1a
1 changed files with 1 additions and 1 deletions

View File

@ -176,7 +176,7 @@ DumpImage::DumpImage(LAMMPS *lmp, int narg, char **arg) :
error->all("Invalid dump image theta value");
theta *= PI/180.0;
}
if (strstr(arg[iarg+1],"v_") == arg[iarg+2]) {
if (strstr(arg[iarg+2],"v_") == arg[iarg+2]) {
int n = strlen(&arg[iarg+2][2]) + 1;
phistr = new char[n];
strcpy(phistr,&arg[iarg+2][2]);