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

import_binary: removed tabs in control file.

parent f951c07a
......@@ -279,13 +279,14 @@ void *Importbinary(void *argument)
vlistDefVarName(vlistID, varID, pvar->abbrv);
{
size_t len = strlen(pvar->varnm);
char *longname = pvar->varnm;
size_t len = strlen(longname);
if ( longname[0] == '\'' && longname[len-1] == '\'' )
{
longname[len-1] = 0;
longname++;
}
if ( longname[0] == '\t' ) longname++;
vlistDefVarLongname(vlistID, varID, longname);
}
......
......@@ -632,7 +632,7 @@ char *ch;
void getwrd (char *ch1, char *ch2, int len) {
while (len>0 && *ch2!='\n' && *ch2!='\0' && *ch2!='\r' && *ch2!=' ' ) {
while (len>0 && *ch2!='\n' && *ch2!='\0' && *ch2!='\r' && *ch2!=' ' && *ch2!='\t' ) {
*ch1 = *ch2;
len--;
ch1++; ch2++;
......
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