lx_dump: 16-bit modules should list imported modules starting at 1.

This commit is contained in:
Ryan C. Gordon committed 2018-05-28 03:29:40 -04:00
1 parent 3bde50a716
commit 537b81f460
1 file changed
+1 -1
+1 -1
View File
@@ -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);
}