Skip to content

Commit

Permalink
Expand tilde and HOME in IconPath for issue 766.
Browse files Browse the repository at this point in the history
  • Loading branch information
gijsbers committed Feb 5, 2024
1 parent 15da0e9 commit c55f3a3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/yicon.cc
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,8 @@ class IconPathIndex {
// now test the system icons folders specified by user or defaults
csmart copy(newstr(iconPath));
for (tokens folder(copy, ":"); folder; ++folder) {
probeIconFolder(folder.token(), false);
upath path(folder.token());
probeIconFolder(path.expand(), false);
}

dedupTestPath.clear();
Expand Down

0 comments on commit c55f3a3

Please sign in to comment.