From 971df6afa3d18c6237f506cd47bc1ed6c856c3cc Mon Sep 17 00:00:00 2001 From: "autofix-ci[bot]" <114827586+autofix-ci[bot]@users.noreply.github.com> Date: Thu, 26 Dec 2024 10:02:37 +0000 Subject: [PATCH] [autofix.ci] apply automated fixes --- src/dict/stardict.cc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/dict/stardict.cc b/src/dict/stardict.cc index 741a36992..47c128c77 100644 --- a/src/dict/stardict.cc +++ b/src/dict/stardict.cc @@ -1658,7 +1658,8 @@ static void findCorrespondingFiles( string const & ifo, string & idx, string & d { string base( ifo, 0, ifo.size() - 3 ); - auto ret = Utils::Fs::anyExistingFile( { base + "idx", base + "idx.gz", base + "idx.dz", base + "IDX", base + "IDX.GZ", base + "IDX.DZ" } ); + auto ret = Utils::Fs::anyExistingFile( + { base + "idx", base + "idx.gz", base + "idx.dz", base + "IDX", base + "IDX.GZ", base + "IDX.DZ" } ); if ( !ret ) { throw exNoIdxFile( ifo ); } @@ -1668,7 +1669,8 @@ static void findCorrespondingFiles( string const & ifo, string & idx, string & d throw exNoDictFile( ifo ); } - ret = Utils::Fs::anyExistingFile( { base + "syn", base + "syn.gz", base + "syn.dz", base + "SYN", base + "SYN.GZ", base + "SYN.DZ" } ); + ret = Utils::Fs::anyExistingFile( + { base + "syn", base + "syn.gz", base + "syn.dz", base + "SYN", base + "SYN.GZ", base + "SYN.DZ" } ); if ( !ret ) { syn.clear();