From c55f3a34c437dc537d3480e0a450d31c985d5eb8 Mon Sep 17 00:00:00 2001 From: Bert Gijsbers Date: Mon, 5 Feb 2024 04:00:00 +0100 Subject: [PATCH] Expand tilde and HOME in IconPath for issue 766. --- src/yicon.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/yicon.cc b/src/yicon.cc index 01746392e..185284a79 100644 --- a/src/yicon.cc +++ b/src/yicon.cc @@ -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();