Commit 1e7c00e3 authored by Thomas Jahns's avatar Thomas Jahns 🤸
Browse files

Fix incorrect check.

parent 05e85e71
......@@ -917,7 +917,7 @@ int tableInqParLongname(int tableID, int code, char *longname)
npars = parTable[tableID].npars;
if ( tableID >= 0 && tableID < MAX_TABLE ) { } else
if ( (tableID >= 0) & (tableID < MAX_TABLE) | (tableID == UNDEFID) ) { } else
Error("Invalid table ID %d", tableID);
if ( tableID == UNDEFID )
......
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