Skip to content

Commit

Permalink
Fix multi-byte filename.
Browse files Browse the repository at this point in the history
  • Loading branch information
gonwan committed Feb 13, 2025
1 parent 0e20465 commit 92f3a2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/libebook/ebook_chm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -585,7 +585,7 @@ bool EBook_CHM::parseFileAndFillArray( const QString& file, QList< ParsedEntry >
bool EBook_CHM::ResolveObject(const QString& fileName, chmUnitInfo* ui) const
{
return m_chmFile != NULL
&& ::chm_resolve_object(m_chmFile, qPrintable( fileName ), ui) ==
&& ::chm_resolve_object(m_chmFile, qUtf8Printable( fileName ), ui) ==
CHM_RESOLVE_SUCCESS;
}

Expand Down

0 comments on commit 92f3a2d

Please sign in to comment.