GUI: possible end-slash mismatch in dir comparison would prevent enabling the real-time indexer config tool
This commit is contained in:
parent
9a4d7de7f9
commit
c3595b3e12
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue