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:
parent
2b15c30ad1
commit
824ed30872
|
@ -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]==';')
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue
Block a user