Commit 24b58b68 authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

tableRead: name is not interpreted correctly (bug introduced in 1.7.0 #3933)

parent b1f9fa9c
......@@ -3,6 +3,10 @@
* Version 1.7.1 released
* using CGRIBEX library version 1.7.4
2015-11-04 Uwe Schulzweida
* tableRead: name is not interpreted correctly (bug introduced in 1.7.0 #3933)
2015-10-27 Uwe Schulzweida
* Version 1.7.0 released
......
......@@ -360,7 +360,7 @@ int tableRead(const char *tablefile)
*/
if ( id == 0 ) continue;
while ( isdigit((int) *pline) ) pline++;
while ( isdigit((int) *pline) ) pline++;
if ( strchr(pline, '|') )
err = decodeForm2(pline, name, longname, units);
......@@ -369,7 +369,7 @@ int tableRead(const char *tablefile)
if ( err ) continue;
if ( name[0] ) sprintf(name, "var%d", id);
if ( name[0] == 0 ) sprintf(name, "var%d", id);
tableDefEntry(tableID, id, name, longname, units);
}
......
Markdown is supported
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