Skip to content

Commit

Permalink
Work around GCC11 issue
Browse files Browse the repository at this point in the history
Found by the CI.
  • Loading branch information
Code7R committed Oct 4, 2024
1 parent 62ae9f4 commit 3a18210
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/yicon.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 3a18210

Please sign in to comment.