Skip to content

Commit

Permalink
[autofix.ci] apply automated fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
autofix-ci[bot] authored Jul 23, 2024
1 parent 8e61aed commit 4c41f9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dict/stardict.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1735,7 +1735,7 @@ static void handleIdxSynFile( string const & fileName,
// synonyms which really start from slash and contain dollar signs, or
// end with dollar and contain slashes.
if ( headword.front() == '/' ) {
if ( headword.find_first_of( '$' ) !=string::npos )
if ( headword.find_first_of( '$' ) != string::npos )
continue; // Skip this entry
}
else if ( headword.end() == '$' ) {
Expand Down

0 comments on commit 4c41f9c

Please sign in to comment.