Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mpim-sw
libcdi
Commits
534533b3
Commit
534533b3
authored
Aug 19, 2013
by
Uwe Schulzweida
Browse files
gridDuplicate: added copy of reference path (bug fix)
parent
a9744200
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/grid.c
View file @
534533b3
...
@@ -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
)
{
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment