diff --git a/src/dict/dsl.cc b/src/dict/dsl.cc index db8e8dc4..43907b31 100644 --- a/src/dict/dsl.cc +++ b/src/dict/dsl.cc @@ -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" - - if ( int extSize = ( uncompressedDsl ? 4 : 7 ); (fileName.size() >= ( 5 + extSize )) && QByteArrayView( fileName ).chopped( extSize ).last( 5 ).compare( "_abrv", Qt::CaseInsensitive )) { - // It is, skip it - continue; + + if ( int extSize = ( uncompressedDsl ? 4 : 7 ); ( fileName.size() >= ( 5 + extSize ) ) + && QByteArrayView( fileName ).chopped( extSize ).last( 5 ).compare( "_abrv", Qt::CaseInsensitive ) ) { + // It is, skip it + continue; } unsigned atLine = 0; // Indicates current line in .dsl, for debug purposes