mirror of
https://github.com/stascorp/rdpwrap.git
synced 2024-11-10 02:08:20 +00:00
Fix typos
This commit is contained in:
parent
e2e4a33954
commit
8b85f43605
@ -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;
|
||||
}
|
||||
|
@ -88,7 +88,7 @@ public:
|
||||
private:
|
||||
DWORD FileSize; // Ini file size
|
||||
char *FileRaw; // Ini file raw dump
|
||||
DWORD FileStringsCount; // String-map lenght
|
||||
DWORD FileStringsCount; // String-map length
|
||||
DWORD *FileStringsMap; // String-map
|
||||
INI_DATA IniData; // Parsed data
|
||||
|
||||
@ -98,7 +98,7 @@ private:
|
||||
// Class service functions
|
||||
bool CreateStringsMap(); // Create file string-map
|
||||
bool Parse(); // Parse file to class structures
|
||||
DWORD GetFileStringFromNum(DWORD StringNumber, char *RetString, DWORD Size); // Get stroing from string-map
|
||||
DWORD GetFileStringFromNum(DWORD StringNumber, char *RetString, DWORD Size); // Get string from string-map
|
||||
bool IsVariable(char *Str, DWORD StrSize);
|
||||
bool FillVariable(INI_SECTION_VARIABLE *Variable, char *Str, DWORD StrSize); // Fill INI_SECTION_VARIABLE struct (for Parse)
|
||||
bool GetVariableInSectionPrivate(char *SectionName, char *VariableName, INI_SECTION_VARIABLE *RetVariable);
|
||||
|
Loading…
Reference in New Issue
Block a user