diff options
Diffstat (limited to 'libiberty/cplus-dem.c')
-rw-r--r-- | libiberty/cplus-dem.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/libiberty/cplus-dem.c b/libiberty/cplus-dem.c index 2293aa2..1d0ef28 100644 --- a/libiberty/cplus-dem.c +++ b/libiberty/cplus-dem.c @@ -3153,12 +3153,13 @@ demangle_fund_type (work, mangled, result) case 'C': case 'V': case 'u': - (*mangled)++; if (PRINT_ANSI_QUALIFIERS) { - APPEND_BLANK (result); - string_append (result, demangle_qualifier (**mangled)); + if (!STRING_EMPTY (result)) + string_prepend (result, " "); + string_prepend (result, demangle_qualifier (**mangled)); } + (*mangled)++; break; case 'U': (*mangled)++; |