Commit 534533b3 authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

gridDuplicate: added copy of reference path (bug fix)

parent a9744200
...@@ -2944,6 +2944,8 @@ int gridDuplicate(int gridID) ...@@ -2944,6 +2944,8 @@ int gridDuplicate(int gridID)
strcpy(gridptrnew->xstdname, gridptr->xstdname); strcpy(gridptrnew->xstdname, gridptr->xstdname);
strcpy(gridptrnew->ystdname, gridptr->ystdname); strcpy(gridptrnew->ystdname, gridptr->ystdname);
if ( gridptr->reference ) gridptrnew->reference = strdupx(gridptr->reference);
nrowlon = gridptr->nrowlon; nrowlon = gridptr->nrowlon;
if ( nrowlon ) if ( nrowlon )
{ {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment