From ccc857bd4ebbec2cdf960e37cff778e17cebd4a1 Mon Sep 17 00:00:00 2001 From: sjplimp Date: Wed, 6 May 2009 13:07:08 +0000 Subject: [PATCH] git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@2805 f3b2605a-c512-4ea7-a41b-209d697bcdaa --- src/variable.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/variable.cpp b/src/variable.cpp index 231d3de53a..095455b445 100644 --- a/src/variable.cpp +++ b/src/variable.cpp @@ -1444,7 +1444,7 @@ int Variable::group_function(char *word, char *contents, Tree **tree, if (ptr2) { n = strlen(ptr2+1) + 1; arg3 = new char[n]; - strcpy(arg3,ptr1+1); + strcpy(arg3,ptr2+1); narg = 3; } else arg3 = NULL;