This commit is contained in:
jpirnay
2026-04-01 10:41:56 +02:00
parent fb4d0c6572
commit ed02f20c36
4 changed files with 15 additions and 15 deletions
@@ -1,8 +1,5 @@
#include "ChapterXPathReverseMapper.h"
#include "ChapterXPathIndexerInternal.h"
#include "ChapterXPathIndexerState.h"
#include <HalStorage.h>
#include <Logging.h>
#include <expat.h>
@@ -11,6 +8,9 @@
#include <cstdlib>
#include <string>
#include "ChapterXPathIndexerInternal.h"
#include "ChapterXPathIndexerState.h"
namespace ChapterXPathIndexerInternal {
namespace {
@@ -225,8 +225,8 @@ bool findProgressForXPathInternal(const std::shared_ptr<Epub>& epub, const int s
outIntraSpineProgress = std::max(0.0f, std::min(1.0f, outIntraSpineProgress));
}
LOG_DBG("KOX", "Reverse: spine=%d %s match offset=%zu/%zu -> progress=%.3f for '%s'", spineIndex,
state.bestTierName, state.bestOffset, state.totalTextBytes, outIntraSpineProgress, xpath.c_str());
LOG_DBG("KOX", "Reverse: spine=%d %s match offset=%zu/%zu -> progress=%.3f for '%s'", spineIndex, state.bestTierName,
state.bestOffset, state.totalTextBytes, outIntraSpineProgress, xpath.c_str());
return true;
}