Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mpim-sw
libcdi
Commits
ff5bcf09
Commit
ff5bcf09
authored
Oct 08, 2017
by
Uwe Schulzweida
Browse files
cdiZaxisdefKeyStr: allow empty strings.
parent
f217acad
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/zaxis.c
View file @
ff5bcf09
...
...
@@ -387,7 +387,7 @@ The function @func{cdiZaxisDefKeyStr} defines a CDI Z-axis string value from a k
*/
int
cdiZaxisDefKeyStr
(
int
zaxisID
,
int
key
,
int
size
,
const
char
*
mesg
)
{
if
(
size
<
1
||
mesg
==
NULL
||
*
mesg
==
0
)
return
-
1
;
if
(
size
<
1
||
mesg
==
NULL
)
return
-
1
;
zaxis_t
*
zaxisptr
=
zaxis_to_pointer
(
zaxisID
);
...
...
Write
Preview
Markdown
is supported
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