From be68890cac2ef9e875e0ccac7288834fa9f9bb43 Mon Sep 17 00:00:00 2001 From: Ken Thomases Date: Tue, 4 Aug 2015 02:40:37 -0500 Subject: [PATCH] dbghelp: Fix a copy-paste error in comparing Mach-O segment names. --- dlls/dbghelp/macho_module.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/dbghelp/macho_module.c b/dlls/dbghelp/macho_module.c index 3e91403ac6f..8a1c5b2755e 100644 --- a/dlls/dbghelp/macho_module.c +++ b/dlls/dbghelp/macho_module.c @@ -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;