dbghelp: Fix a copy-paste error in comparing Mach-O segment names.

This commit is contained in:
Ken Thomases 2015-08-04 02:40:37 -05:00 committed by Alexandre Julliard
parent 1e439a5ed1
commit be68890cac
1 changed files with 1 additions and 1 deletions

View File

@ -337,7 +337,7 @@ BOOL macho_find_section(struct image_file_map* ifm, const char* segname, const c
for (i = 0; i < fmap->num_sections; i++)
{
if (strcmp(fmap->sect[i].section->sectname, sectname) == 0 &&
(!segname || strcmp(fmap->sect[i].section->sectname, segname) == 0))
(!segname || strcmp(fmap->sect[i].section->segname, segname) == 0))
{
ism->fmap = ifm;
ism->sidx = i;