Fix for amb790 - users.ini with spaces / tabs before a comment line were being read as an admin entry.

admin.sma now trims each line it reads.
This commit is contained in:
Steve Dudenhoeffer 2007-08-16 17:58:34 +00:00
parent 2b15c30ad1
commit 824ed30872

View File

@ -429,6 +429,8 @@ loadSettings(szFilename[])
{ {
fgets(File,Text,sizeof(Text)-1); fgets(File,Text,sizeof(Text)-1);
trim(Text);
// comment // comment
if (Text[0]==';') if (Text[0]==';')
{ {