Commit 12daf8ba authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

zaxisCreate_: improved error message.

parent 0a2bb191
......@@ -190,7 +190,7 @@ int zaxisCreate_(int zaxistype, int size, int id)
zaxisptr->size = size;
if ( zaxistype >= CDI_NumZaxistype || zaxistype < 0 )
Error("Internal problem! zaxistype > CDI_MaxZaxistype");
Error("Internal problem! zaxistype=%d out of range (min=0/max=%d)!", zaxistype, CDI_NumZaxistype-1);
const int zaxisID = zaxisptr->self;
cdiDefKeyString(zaxisID, CDI_GLOBAL, CDI_KEY_NAME, ZaxistypeEntry[zaxistype].name);
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