diff --git a/src/yicon.cc b/src/yicon.cc index 185284a79..9229b3b8e 100644 --- a/src/yicon.cc +++ b/src/yicon.cc @@ -27,7 +27,7 @@ YIcon::YIcon(upath filename) : loadedH(false), fCached(false), fPath(filename.expand()) { // don't attempt to load if icon is disabled - if (fPath == "none" || fPath == "-") + if (fPath.equals("none") || fPath.equals("-")) loadedS = loadedL = loadedH = true; }