+ fix problems on windows with relative paths

This commit is contained in:
kelson42 2013-01-11 10:53:17 +00:00
parent c0847edec9
commit fd9c259d2a
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@ namespace kiwix {
} }
std::string Book::getHumanReadableIdFromPath() { std::string Book::getHumanReadableIdFromPath() {
std::string id = path; std::string id = pathAbsolute;
if (!id.empty()) { if (!id.empty()) {
kiwix::removeAccents(id); kiwix::removeAccents(id);