Commit fc0cd537 authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

Renamed CDI_KEY_MAPPING to CDI_KEY_GRIDMAP_VARNAME.

parent 3ab38f24
...@@ -304,7 +304,7 @@ printGridInfoKernel(int gridID, int index, bool lproj) ...@@ -304,7 +304,7 @@ printGridInfoKernel(int gridID, int index, bool lproj)
char name[CDI_MAX_NAME]; char name[CDI_MAX_NAME];
name[0] = 0; name[0] = 0;
cdiGridInqKeyStr(gridID, CDI_KEY_MAPNAME, CDI_MAX_NAME, name); cdiGridInqKeyStr(gridID, CDI_KEY_GRIDMAP_NAME, CDI_MAX_NAME, name);
if (gridtype == GRID_PROJECTION || name[0]) if (gridtype == GRID_PROJECTION || name[0])
{ {
if (name[0] == 0) strcpy(name, "undefined"); if (name[0] == 0) strcpy(name, "undefined");
......
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