mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-23 20:14:05 +00:00
*! Make another occurence of zip_name_locate case-insensitive.
This commit is contained in:
parent
a07c2f6416
commit
d24601d60f
|
@ -550,7 +550,7 @@ string DslDictionary::nodeToHtml( ArticleDom::Node const & node )
|
|||
{
|
||||
string fname = FsEncoding::encode( filename );
|
||||
|
||||
int result = zip_name_locate( resourceZip, fname.c_str(), 0 );
|
||||
int result = zip_name_locate( resourceZip, fname.c_str(), ZIP_FL_NOCASE );
|
||||
|
||||
if ( result == -1 )
|
||||
throw;
|
||||
|
|
Loading…
Reference in a new issue