Skip to content
Snippets Groups Projects
Commit 676cbcfe authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

cdfAppendCoordinates: revert last commit.

parent 1be09e24
No related branches found
No related tags found
No related merge requests found
......@@ -377,8 +377,8 @@ void cdfAppendCoordinates(int fileID, int ncvarid, char coordinates[CDI_MAX_NAME
{
if (ncvarid != CDI_UNDEFID)
{
const size_t len = strlen(coordinates);
if (len) coordinates[len + 1] = ' ';
size_t len = strlen(coordinates);
if (len) coordinates[len++] = ' ';
cdf_inq_varname(fileID, ncvarid, coordinates+len);
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment