Make compiler happy (packed structs are a pain....)
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user