mirror of https://github.com/kiwix/libkiwix.git
Bugfix in Book::getHumanReadableIdFromPath()
This commit is contained in:
parent
3296a020a1
commit
339f845fb0
|
@ -190,7 +190,7 @@ std::string Book::getHumanReadableIdFromPath() const
|
||||||
{
|
{
|
||||||
std::string id = m_path;
|
std::string id = m_path;
|
||||||
if (!id.empty()) {
|
if (!id.empty()) {
|
||||||
kiwix::removeAccents(id);
|
id = kiwix::removeAccents(id);
|
||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
id = replaceRegex(id, "", "^.*\\\\");
|
id = replaceRegex(id, "", "^.*\\\\");
|
||||||
|
|
Loading…
Reference in New Issue