winedbg: Correctly print type for functions without parameters.

This commit is contained in:
Eric Pouech 2009-06-28 21:00:23 +02:00 committed by Alexandre Julliard
parent bfb6c80148
commit 87132a3a6a

View file

@ -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))