[autofix.ci] apply automated fixes

This commit is contained in:
autofix-ci[bot] 2024-11-20 10:18:45 +00:00 committed by GitHub
parent 6f95e19881
commit 88a54b0bbf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1734,10 +1734,11 @@ 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 ) )
// It is, skip it && QByteArrayView( fileName ).chopped( extSize ).last( 5 ).compare( "_abrv", Qt::CaseInsensitive ) ) {
continue; // It is, skip it
continue;
} }
unsigned atLine = 0; // Indicates current line in .dsl, for debug purposes unsigned atLine = 0; // Indicates current line in .dsl, for debug purposes