The newline space between ini groups is actually recorded as a comment of the group. This got inadvertantly dropped in #11364.
(cherry picked from commit 35a7770fde
)
This commit is contained in:

committed by
Jonathan G Rennison

parent
2a31095118
commit
609eb46ba7
@@ -39,7 +39,7 @@ void IniItem::SetValue(const std::string_view value)
|
|||||||
* @param parent the file we belong to
|
* @param parent the file we belong to
|
||||||
* @param name the name of the group
|
* @param name the name of the group
|
||||||
*/
|
*/
|
||||||
IniGroup::IniGroup(const std::string &name, IniGroupType type) : type(type)
|
IniGroup::IniGroup(const std::string &name, IniGroupType type) : type(type), comment("\n")
|
||||||
{
|
{
|
||||||
this->name = StrMakeValid(name);
|
this->name = StrMakeValid(name);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user