From 29fedfb5d401a6f76cfb70bd17d74d27d61a26c7 Mon Sep 17 00:00:00 2001 From: Eric Pouech Date: Mon, 30 Aug 2021 09:28:13 +0200 Subject: [PATCH] dbghelp: Return a lexical parent for enums (as we do for UDTs). Signed-off-by: Eric Pouech Signed-off-by: Alexandre Julliard --- dlls/dbghelp/type.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dlls/dbghelp/type.c b/dlls/dbghelp/type.c index 08fa8bad95e..0fa3b669467 100644 --- a/dlls/dbghelp/type.c +++ b/dlls/dbghelp/type.c @@ -717,6 +717,7 @@ BOOL symt_get_info(struct module* module, const struct symt* type, X(DWORD) = symt_ptr2index(module, ((const struct symt_function_arg_type*)type)->container); break; case SymTagUDT: + case SymTagEnum: X(DWORD) = symt_ptr2index(module, &module->top->symt); break; default: