Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.

Commit 64a5278

Browse files
Fix a typo leading to failure to parse Linux/Android ELF standalones
1 parent 1de2590 commit 64a5278

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

engine/src/deploy_linux.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -686,7 +686,7 @@ Exec_stat MCDeployToELF(const MCDeployParameters& p_params, bool p_is_android)
686686
typename T::Shdr *t_project_section, *t_payload_section;
687687
t_project_section = NULL;
688688
t_payload_section = NULL;
689-
for(uint32_t i = 0; i < t_success && t_header . e_shnum && t_project_section == NULL && t_success; i++)
689+
for(uint32_t i = 0; t_success && i < t_header . e_shnum && t_project_section == NULL; i++)
690690
{
691691
char *t_section_name;
692692
t_success = MCDeployToLinuxReadString<T>(t_engine, t_section_headers[t_header . e_shstrndx], t_section_headers[i] . sh_name, t_section_name);

0 commit comments

Comments
 (0)