mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-27 15:24:05 +00:00
[autofix.ci] apply automated fixes
This commit is contained in:
parent
6f95e19881
commit
88a54b0bbf
|
@ -1735,7 +1735,8 @@ vector< sptr< Dictionary::Class > > makeDictionaries( vector< string > const & f
|
||||||
|
|
||||||
// Make sure it's not an abbreviation file. extSize of ".dsl" or ".dsl.dz"
|
// Make sure it's not an abbreviation file. extSize of ".dsl" or ".dsl.dz"
|
||||||
|
|
||||||
if ( int extSize = ( uncompressedDsl ? 4 : 7 ); (fileName.size() >= ( 5 + extSize )) && QByteArrayView( fileName ).chopped( extSize ).last( 5 ).compare( "_abrv", Qt::CaseInsensitive )) {
|
if ( int extSize = ( uncompressedDsl ? 4 : 7 ); ( fileName.size() >= ( 5 + extSize ) )
|
||||||
|
&& QByteArrayView( fileName ).chopped( extSize ).last( 5 ).compare( "_abrv", Qt::CaseInsensitive ) ) {
|
||||||
// It is, skip it
|
// It is, skip it
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue