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

cdi -s: changed MAXCHARS from 80 to 82

parent f01d9986
No related branches found
No related tags found
No related merge requests found
......@@ -256,6 +256,7 @@ void printInfo(int gridtype, int vdate, int vtime, char *varname, double level,
fprintf(stdout, "Found %d of %d missing values!\n", imiss, nmiss);
}
#define MAXCHARS 82
static
void printShortinfo(int streamID, int vlistID, int vardis)
......@@ -389,7 +390,7 @@ void printShortinfo(int streamID, int vlistID, int vardis)
nbyte = nbyte0;
for ( levelID = 0; levelID < levelsize; levelID++ )
{
if ( nbyte > 80 )
if ( nbyte > MAXCHARS )
{
fprintf(stdout, "\n");
fprintf(stdout, "%*s", nbyte0, "");
......@@ -406,7 +407,7 @@ void printShortinfo(int streamID, int vlistID, int vardis)
nbyte0 = fprintf(stdout, "%33s : ", "bounds");
for ( levelID = 0; levelID < levelsize; levelID++ )
{
if ( nbyte > 80 )
if ( nbyte > MAXCHARS )
{
fprintf(stdout, "\n");
fprintf(stdout, "%*s", nbyte0, "");
......
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