Skip to content

Commit

Permalink
lx_dump: 16-bit modules should list imported modules starting at 1.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed May 28, 2018
1 parent 3bde50a commit 537b81f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lx_dump.c
Expand Up @@ -770,7 +770,7 @@ static int parseNeExe(const uint8 *origexe, const uint8 *exe)
const uint8 *name = (exe + ne->imported_names_table_offset) + *ptr;
const uint32 name_string_len = (uint32) *name;
name++;
printf(" %u: ", (uint) i);
printf(" %u: ", (uint) i+1);
for (uint32 j = 0; j < name_string_len; j++, name++) {
printf("%c", (int) *name);
}
Expand Down

0 comments on commit 537b81f

Please sign in to comment.