From dabcb982df269bc12e07d47d961c9eb9745005bf Mon Sep 17 00:00:00 2001 From: Arnaldo Carvalho de Melo Date: Sun, 11 Feb 2007 21:58:05 -0200 Subject: [PATCH] [LIB]: Bigger name_spacing when expanding types To better align the comments with the offset and member size on the right. Signed-off-by: Arnaldo Carvalho de Melo --- dwarves.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/dwarves.c b/dwarves.c index 56752df..d978b64 100644 --- a/dwarves.c +++ b/dwarves.c @@ -1347,7 +1347,7 @@ static void union__print(const struct tag *tag, const struct cu *cu, char bf[32768]; union__snprintf(utype, cu, bf, sizeof(bf), prefix, suffix, - expand_types, 0, 26, 23); + expand_types, 0, 26, expand_types ? 50 : 23); fputs(bf, fp); } @@ -2753,7 +2753,8 @@ void class__print(const struct tag *tag, const struct cu *cu, char bf[32768]; class__snprintf(tag__class(tag), cu, bf, sizeof(bf), - prefix, suffix, expand_types, 0, 26, 23, 1); + prefix, suffix, expand_types, 0, 26, + expand_types ? 50 : 23, 1); fputs(bf, fp); }