mirror of
https://github.com/mariiaan/minipp.git
synced 2026-05-14 10:11:17 +02:00
Fix comments not being serialized correctly
This commit is contained in:
@@ -826,7 +826,7 @@ minipp::EResult minipp::MiniPPFile::WriteSection(const Section* section, std::of
|
||||
}
|
||||
|
||||
for (const auto& comment : pair.second->m_comments)
|
||||
ofs << comment << std::endl;
|
||||
ofs << "# " << comment << std::endl;
|
||||
|
||||
ofs << pair.first << " = ";
|
||||
auto result = pair.second->ToString(valueString);
|
||||
|
||||
Reference in New Issue
Block a user