Arsenal - Fix invalid usage of ARR macro (#7930)

This commit is contained in:
Björn Dahlgren 2020-10-03 17:20:59 +02:00 committed by GitHub
parent f25e023fd6
commit aa3d28e5be
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -408,7 +408,7 @@ class GVAR(display) {
idc = IDC_statsButton; idc = IDC_statsButton;
style= 2; style= 2;
text=">"; text=">";
onButtonClick = QUOTE(ARR_2([QQGVAR(statsButton), [ctrlParent (_this select 0)]]) call CBA_fnc_localEvent); onButtonClick = QUOTE([ARR_2(QQGVAR(statsButton), [ctrlParent (_this select 0)])] call CBA_fnc_localEvent);
x = QUOTE((0.5 - WIDTH_TOTAL / 2) + WIDTH_GAP); x = QUOTE((0.5 - WIDTH_TOTAL / 2) + WIDTH_GAP);
y = QUOTE(safezoneY + 1.8 * GRID_H); y = QUOTE(safezoneY + 1.8 * GRID_H);
w = QUOTE(6 * GRID_W); w = QUOTE(6 * GRID_W);
@ -421,7 +421,7 @@ class GVAR(display) {
text="<"; text="<";
colorBackground[]={0,0,0,0}; colorBackground[]={0,0,0,0};
colorBackgroundDisabled[]= {0,0,0,0}; colorBackgroundDisabled[]= {0,0,0,0};
onButtonClick = QUOTE(ARR_2([QQGVAR(statsChangePage),[ARR_3(ctrlParent (_this select 0), _this select 0, false)]]) call CBA_fnc_localEvent); onButtonClick = QUOTE([ARR_2(QQGVAR(statsChangePage),[ARR_3(ctrlParent (_this select 0), _this select 0, false)])] call CBA_fnc_localEvent);
x = QUOTE((0.5 - WIDTH_TOTAL / 2) + WIDTH_GAP); x = QUOTE((0.5 - WIDTH_TOTAL / 2) + WIDTH_GAP);
y = QUOTE(safezoneY + 1.8 * GRID_H); y = QUOTE(safezoneY + 1.8 * GRID_H);
w = QUOTE(5 * GRID_W); w = QUOTE(5 * GRID_W);
@ -431,7 +431,7 @@ class GVAR(display) {
class statsNextPage: statsPreviousPage { class statsNextPage: statsPreviousPage {
idc = IDC_statsNextPage; idc = IDC_statsNextPage;
text = ">"; text = ">";
onButtonClick = QUOTE(ARR_2([QQGVAR(statsChangePage),[ARR_3(ctrlParent (_this select 0), _this select 0, true)]]) call CBA_fnc_localEvent); onButtonClick = QUOTE([ARR_2(QQGVAR(statsChangePage),[ARR_3(ctrlParent (_this select 0), _this select 0, true)])] call CBA_fnc_localEvent);
x = QUOTE((0.5 - WIDTH_TOTAL / 2) + WIDTH_GAP + 30 * GRID_W); x = QUOTE((0.5 - WIDTH_TOTAL / 2) + WIDTH_GAP + 30 * GRID_W);
}; };
class statsCurrentPage: RscText { class statsCurrentPage: RscText {
@ -450,7 +450,7 @@ class GVAR(display) {
idc = IDC_statsButtonClose; idc = IDC_statsButtonClose;
colorBackground[]={0,0,0,0}; colorBackground[]={0,0,0,0};
text="\a3\3DEN\Data\Displays\Display3DEN\search_end_ca.paa"; text="\a3\3DEN\Data\Displays\Display3DEN\search_end_ca.paa";
onButtonClick = QUOTE(ARR_2([QQGVAR(statsButton), [ctrlParent (_this select 0)]]) call CBA_fnc_localEvent); onButtonClick = QUOTE([ARR_2(QQGVAR(statsButton), [ctrlParent (_this select 0)])] call CBA_fnc_localEvent);
x = QUOTE((0.5 - WIDTH_TOTAL / 2) + WIDTH_GAP + 42 * GRID_W); x = QUOTE((0.5 - WIDTH_TOTAL / 2) + WIDTH_GAP + 42 * GRID_W);
y = QUOTE(safezoneY + 1.8 * GRID_H); y = QUOTE(safezoneY + 1.8 * GRID_H);
w = QUOTE(5 * GRID_W); w = QUOTE(5 * GRID_W);