*! Make another occurence of zip_name_locate case-insensitive.

This commit is contained in:
Konstantin Isakov 2009-05-01 15:19:16 +00:00
parent a07c2f6416
commit d24601d60f

View file

@ -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;