mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-27 15:24:05 +00:00
Merge branch 'goldendict:master' into staged
This commit is contained in:
commit
417628292d
2
dsl.cc
2
dsl.cc
|
@ -322,7 +322,7 @@ DslDictionary::DslDictionary( string const & id,
|
||||||
|
|
||||||
resourceDir1 = getDictionaryFilenames()[ 0 ] + ".files" + FsEncoding::separator();
|
resourceDir1 = getDictionaryFilenames()[ 0 ] + ".files" + FsEncoding::separator();
|
||||||
QString s = FsEncoding::decode( getDictionaryFilenames()[ 0 ].c_str() );
|
QString s = FsEncoding::decode( getDictionaryFilenames()[ 0 ].c_str() );
|
||||||
if( s.endsWith( QString::fromLatin1( ".dz", Qt::CaseInsensitive ) ) )
|
if( s.endsWith( QString::fromLatin1( ".dz" ), Qt::CaseInsensitive ) )
|
||||||
s.chop( 3 );
|
s.chop( 3 );
|
||||||
resourceDir2 = FsEncoding::encode( s ) + ".files" + FsEncoding::separator();
|
resourceDir2 = FsEncoding::encode( s ) + ".files" + FsEncoding::separator();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue