Commit 87132a3a authored by Eric Pouech's avatar Eric Pouech Committed by Alexandre Julliard

winedbg: Correctly print type for functions without parameters.

parent bfb6c801
......@@ -699,7 +699,8 @@ int types_print_type(const struct dbg_type* type, BOOL details)
int i;
fcp->Start = 0;
while (count)
if (!count) dbg_printf("void");
else while (count)
{
fcp->Count = min(count, 256);
if (types_get_info(type, TI_FINDCHILDREN, fcp))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment