Commit 42c0e7df authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

cdi -s: changed MAXCHARS from 80 to 82

parent f01d9986
......@@ -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, "");
......
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