Skip to content
GitLab
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
ea9827ba
Commit
ea9827ba
authored
Aug 14, 2019
by
Uwe Schulzweida
Browse files
vlistCopyFlag: Copy all attributes (bug fix).
parent
a7dcc3e5
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/vlist.c
View file @
ea9827ba
...
...
@@ -706,6 +706,8 @@ void vlistCopyFlag(int vlistID2, int vlistID1)
if
(
zaxisType
==
ZAXIS_GENERIC
)
zaxisDefLtype
(
zaxisID2
,
zaxisInqLtype
(
zaxisID
));
cdiCopyAtts
(
zaxisID
,
CDI_GLOBAL
,
zaxisID2
,
CDI_GLOBAL
);
zaxisID
=
zaxisID2
;
vars2
[
varID2
].
zaxisID
=
zaxisID2
;
}
...
...
src/zaxis.c
View file @
ea9827ba
...
...
@@ -1406,6 +1406,8 @@ int zaxisDuplicate(int zaxisID)
}
}
cdiCopyAtts
(
zaxisID
,
CDI_GLOBAL
,
zaxisIDnew
,
CDI_GLOBAL
);
return
zaxisIDnew
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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