From 88a54b0bbfae012129f10193222dbbb7c88be808 Mon Sep 17 00:00:00 2001 From: "autofix-ci[bot]" <114827586+autofix-ci[bot]@users.noreply.github.com> Date: Wed, 20 Nov 2024 10:18:45 +0000 Subject: [PATCH] [autofix.ci] apply automated fixes --- src/dict/dsl.cc | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) 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