mirror of
https://github.com/asdlokj1qpi233/subconverter.git
synced 2026-11-04 02:34:06 +00:00
Fix INIReader not checking direct save/ignore section for isolated items
This commit is contained in:
1 file changed
+5
@@ -223,7 +223,12 @@ public:
|
|||||||
content = UTF8ToACP(content); //do conversion if flag is set
|
content = UTF8ToACP(content); //do conversion if flag is set
|
||||||
|
|
||||||
if(store_isolated_line)
|
if(store_isolated_line)
|
||||||
|
{
|
||||||
curSection = isolated_items_section; //items before any section define will be store in this section
|
curSection = isolated_items_section; //items before any section define will be store in this section
|
||||||
|
//check this section first
|
||||||
|
inExcludedSection = __priv_chk_ignore(curSection); //check if this section is excluded
|
||||||
|
inDirectSaveSection = __priv_chk_direct_save(curSection); //check if this section requires direct-save
|
||||||
|
}
|
||||||
strStrm<<content;
|
strStrm<<content;
|
||||||
last_error_index = 0; //reset error index
|
last_error_index = 0; //reset error index
|
||||||
while(getline(strStrm, strLine, delimiter)) //get one line of content
|
while(getline(strStrm, strLine, delimiter)) //get one line of content
|
||||||
|
|||||||
Reference in new issue
Block a user