GUI: possible end-slash mismatch in dir comparison would prevent enabling the real-time indexer config tool
This commit is contained in:
parent
80e3b6dcd6
commit
d70b3cb4d2
@ -120,6 +120,7 @@ bool RclConfig::isDefaultConfig() const
|
|||||||
{
|
{
|
||||||
string defaultconf = path_cat(path_homedata(),
|
string defaultconf = path_cat(path_homedata(),
|
||||||
path_defaultrecollconfsubdir());
|
path_defaultrecollconfsubdir());
|
||||||
|
path_catslash(defaultconf);
|
||||||
string specifiedconf = path_canon(m_confdir);
|
string specifiedconf = path_canon(m_confdir);
|
||||||
path_catslash(specifiedconf);
|
path_catslash(specifiedconf);
|
||||||
return !defaultconf.compare(specifiedconf);
|
return !defaultconf.compare(specifiedconf);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user