diff options
Diffstat (limited to 'gdb/demangle.c')
-rw-r--r-- | gdb/demangle.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/demangle.c b/gdb/demangle.c index 1fdfdc8..45e130c 100644 --- a/gdb/demangle.c +++ b/gdb/demangle.c @@ -111,8 +111,8 @@ set_demangling_command (ignore, from_tty) for (dem = demanglers; dem -> demangling_style_name != NULL; dem++) { - if (strcmp (current_demangling_style_string, - dem -> demangling_style_name) == 0) + if (STREQ (current_demangling_style_string, + dem -> demangling_style_name)) { current_demangling_style = dem -> demangling_style; break; |