Misc syntax tweaks

This commit is contained in:
jl777
2019-06-23 22:12:56 -11:00
parent 95a629d292
commit ed9ff35e7a
4 changed files with 28 additions and 22 deletions

View File

@@ -40,7 +40,10 @@ long stripquotes(char *str)
return(0);
len = strlen(str);
if ( str[0] == '"' && str[len-1] == '"' )
str[len-1] = 0, offset = 1;
{
str[len-1] = 0;
offset = 1;
}
else offset = 0;
return(offset);
}