diff --git a/plugins/dwarfmonitor.cpp b/plugins/dwarfmonitor.cpp index b715f6351..6f5481369 100644 --- a/plugins/dwarfmonitor.cpp +++ b/plugins/dwarfmonitor.cpp @@ -1216,7 +1216,18 @@ struct preference_map break; default: - label = string("UNKNOWN ") + ENUM_ATTR_STR(item_type, caption, pref.item_type); + label = ENUM_ATTR_STR(item_type, caption, pref.item_type); + if (label.size()) + { + if (label[label.size() - 1] == 's') + label += "es"; + else + label += "s"; + } + else + { + label = "UNKNOWN"; + } break; }