fix segmentation fault

This commit is contained in:
Jeremy Baxter 2024-02-06 16:39:30 +13:00
parent 1f322e9bb9
commit 441cee0900

View file

@ -180,7 +180,7 @@ struct INIUnit
void
opIndexAssign(string v, string k)
{
this[defaultSection][k] = v;
sections[defaultSection][k] = v;
}
/++
@ -189,7 +189,7 @@ struct INIUnit
void
opIndexAssign(INISection v, string sect)
{
this[sect] = v;
sections[sect] = v;
}
}