We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fe7ea53 commit a070cccCopy full SHA for a070ccc
1 file changed
engine/src/deploy_windows.cpp
@@ -1645,11 +1645,11 @@ Exec_stat MCDeployToWindows(const MCDeployParameters& p_params)
1645
{
1646
t_section_count = t_nt_header . FileHeader . NumberOfSections;
1647
if (p_params . payload != nil)
1648
- t_payload_section = &t_section_headers[t_section_count - 3];
+ t_payload_section = &t_section_headers[t_section_count - 4];
1649
else
1650
t_payload_section = nil;
1651
- t_project_section = &t_section_headers[t_section_count - 2];
1652
- t_resource_section = &t_section_headers[t_section_count - 1];
+ t_project_section = &t_section_headers[t_section_count - 3];
+ t_resource_section = &t_section_headers[t_section_count - 2];
1653
}
1654
1655
// Next we check that there are at least two sections, and they are the
0 commit comments