|
|
|
|
@ -190,9 +190,9 @@ bool INI_FILE::Parse()
|
|
|
|
|
{
|
|
|
|
|
CurrentStringSize = GetFileStringFromNum(CurrentStringNum, CurrentString, 512);
|
|
|
|
|
|
|
|
|
|
if(CurrentString[0] == ';') continue; // It's comment
|
|
|
|
|
if(CurrentString[0] == ';') continue; // It's a comment
|
|
|
|
|
|
|
|
|
|
if(CurrentString[0] == '[' && CurrentString[CurrentStringSize-1] == ']') // It's section diclarate
|
|
|
|
|
if(CurrentString[0] == '[' && CurrentString[CurrentStringSize-1] == ']') // It's section declaration
|
|
|
|
|
{
|
|
|
|
|
SectionsCount++;
|
|
|
|
|
continue;
|
|
|
|
|
@ -206,10 +206,10 @@ bool INI_FILE::Parse()
|
|
|
|
|
{
|
|
|
|
|
CurrentStringSize = GetFileStringFromNum(CurrentStringNum, CurrentString, 512);
|
|
|
|
|
|
|
|
|
|
if(CurrentString[0] == ';') continue; // It's comment
|
|
|
|
|
if(CurrentString[0] == ';') continue; // It's a comment
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if(CurrentString[0] == '[' && CurrentString[CurrentStringSize-1] == ']') // It's section diclarate
|
|
|
|
|
if(CurrentString[0] == '[' && CurrentString[CurrentStringSize-1] == ']') // It's section declaration
|
|
|
|
|
{
|
|
|
|
|
CurrentSectionNum++;
|
|
|
|
|
continue;
|
|
|
|
|
@ -242,7 +242,7 @@ bool INI_FILE::Parse()
|
|
|
|
|
{
|
|
|
|
|
CurrentStringSize = GetFileStringFromNum(CurrentStringNum, CurrentString, 512);
|
|
|
|
|
|
|
|
|
|
if(CurrentString[0] == ';') // It's comment
|
|
|
|
|
if(CurrentString[0] == ';') // It's a comment
|
|
|
|
|
{
|
|
|
|
|
continue;
|
|
|
|
|
}
|
|
|
|
|
|