Skip to content

Commit 68224cd

Browse files
gonwanu-235
authored andcommitted
Fix multi-byte filename.
1 parent ae680a9 commit 68224cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/libebook/ebook_chm.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -585,7 +585,7 @@ bool EBook_CHM::parseFileAndFillArray( const QString& file, QList< ParsedEntry >
585585
bool EBook_CHM::ResolveObject(const QString& fileName, chmUnitInfo* ui) const
586586
{
587587
return m_chmFile != NULL
588-
&& ::chm_resolve_object(m_chmFile, qPrintable( fileName ), ui) ==
588+
&& ::chm_resolve_object(m_chmFile, qUtf8Printable( fileName ), ui) ==
589589
CHM_RESOLVE_SUCCESS;
590590
}
591591

0 commit comments

Comments
 (0)