Skip to content

Commit

Permalink
Merge pull request #8 from Lierrmm/develop
Browse files Browse the repository at this point in the history
fix: resolve issue with dvarFloatList and dvarStrList on menu export
  • Loading branch information
xoxor4d authored Apr 26, 2023
2 parents a4bdf27 + 097e24b commit d367fa6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/components/modules/menu_export.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -387,13 +387,13 @@ namespace components

for (int i = 0; i < itemDef.typeData.multi->count; i++)
{
if (itemDef.typeData.multi->strDef == 1)
if (itemDef.typeData.multi->strDef == 1)
{
menu_file_ << itemDef.typeData.multi->dvarList[i] << " " << itemDef.typeData.multi->dvarStr[i] << " ";
menu_file_ << '"' << itemDef.typeData.multi->dvarList[i] << '"' << ", " << '"' << itemDef.typeData.multi->dvarStr[i] << '"' << "; ";
}
else
else
{
menu_file_ << itemDef.typeData.multi->dvarList[i] << " " << itemDef.typeData.multi->dvarValue[i] << " ";
menu_file_ << '"' << itemDef.typeData.multi->dvarList[i] << '"' << " " << itemDef.typeData.multi->dvarValue[i] << " ";
}
}

Expand Down

0 comments on commit d367fa6

Please sign in to comment.