Allowed comments and empty lines in startup files

This commit is contained in:
2006-09-27 08:07:45 +00:00
parent 70a14832b0
commit 84ee76f564
3 changed files with 11 additions and 5 deletions

View File

@ -471,6 +471,8 @@ int Sfile_multi_read_argv(char *progname, char **filenames, int filename_count,
while(Sfile_fgets(buf,sizeof(buf)-1,fp)!=NULL) {
line_no++;
l= strlen(buf);
if(l==0 || buf[0]=='#')
continue;
if(pass==0){
if(l>maxl)
maxl= l;