Skip to content

Commit

Permalink
fix silly
Browse files Browse the repository at this point in the history
  • Loading branch information
andiwand committed Jan 2, 2025
1 parent 6083912 commit 967b1d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pdf2htmlEX/src/HTMLRenderer/general.cc
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ bool HTMLRenderer::renderPage(PDFDoc *doc, int pageno)
return false;
}

if (page_cache.find(pageno) != page_cache.end())
if (page_cache.find(pageno) == page_cache.end())
{
cerr << "Page number " << pageno << " not found in page cache" << endl;
return false;
Expand Down

0 comments on commit 967b1d0

Please sign in to comment.