[PATCH] [WineDbg]: correctly print type for functions without parameters
Eric Pouech
eric.pouech at orange.fr
Sun Jun 28 14:00:23 CDT 2009
A+
---
programs/winedbg/types.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/programs/winedbg/types.c b/programs/winedbg/types.c
index a13f77f..9c21bd4 100644
--- a/programs/winedbg/types.c
+++ b/programs/winedbg/types.c
@@ -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))
More information about the wine-patches
mailing list