We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b8ffd53 commit 2dce310Copy full SHA for 2dce310
src/iconhandler.cpp
@@ -326,7 +326,7 @@ IconHandler::IconHandler(
326
327
// optimization: check if we actually have an interesting path before
328
// entering the slower loop below.
329
- if (!fname.starts_with("/usr/share/icons/") || (!m_extraPrefix.empty() && !fname.starts_with(extraIconsPath)))
+ if (!fname.starts_with("/usr/share/icons/") && (!m_extraPrefix.empty() && !fname.starts_with(extraIconsPath)))
330
return;
331
332
auto pkg = getPackage(pkgid);
0 commit comments