diff --git a/src/frontends/qt4/QDelimiterDialog.C b/src/frontends/qt4/QDelimiterDialog.C index cdd70ea744..82102e9e16 100644 --- a/src/frontends/qt4/QDelimiterDialog.C +++ b/src/frontends/qt4/QDelimiterDialog.C @@ -76,7 +76,7 @@ string fix_name(const string & str, bool big) return "/"; if (str == "backslash") return "\\"; - if (str == "empty") + if (str.empty()) return "."; if (!big || str == "(" || str == ")" || str == "[" || str == "]") return str;