Make compiler happy (packed structs are a pain....)

This commit is contained in:
Raphael Coeffic
2021-04-18 09:04:26 +02:00
parent 3b0a216394
commit 0e684058e4
+2 -2
View File
@@ -365,8 +365,8 @@ static void updateLayoutOptions(FormGroup* optionsWindow, unsigned customScreenI
for (auto * option = factory->getOptions(); option->name; option++, index++) {
auto& layoutData = g_model.screenData[customScreenIndex].layoutData;
ZoneOptionValue * value = &layoutData.options[index].value;
auto layoutData = &g_model.screenData[customScreenIndex].layoutData;
ZoneOptionValue * value = &layoutData->options[index].value;
// Option label
new StaticText(optionsWindow, grid.getLabelSlot(false), option->name);