From 23001da0c4bc0348975c7087ce069815ad5f0542 Mon Sep 17 00:00:00 2001 From: Dmitry Timoshkov Date: Fri, 20 May 2005 09:41:16 +0000 Subject: [PATCH] Print also flags and length of NE resources. --- tools/winedump/ne.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tools/winedump/ne.c b/tools/winedump/ne.c index 2ba7e2207f4..5ad66af236d 100644 --- a/tools/winedump/ne.c +++ b/tools/winedump/ne.c @@ -127,9 +127,10 @@ static void dump_ne_resources( const void *base, const IMAGE_OS2_HEADER *ne ) if (name->id & 0x8000) printf( " %d", (name->id & ~0x8000) ); else printf( " %.*s", *((const unsigned char *)res_ptr + name->id), (const char *)res_ptr + name->id + 1 ); - if (info->type_id & 0x8000) printf( " %s\n", get_resource_type(info->type_id) ); - else printf( " %.*s\n", *((const unsigned char *)res_ptr + info->type_id), + if (info->type_id & 0x8000) printf( " %s", get_resource_type(info->type_id) ); + else printf( " %.*s", *((const unsigned char *)res_ptr + info->type_id), (const char *)res_ptr + info->type_id + 1 ); + printf(" flags %04x length %04x\n", name->flags, name->length << size_shift); dump_data( (const unsigned char *)base + (name->offset << size_shift), name->length << size_shift, " " ); }