mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-24 04:24:09 +00:00
opt: headword parse modification
This commit is contained in:
parent
4c41f9cfd1
commit
0fa968d189
|
@ -1738,7 +1738,7 @@ static void handleIdxSynFile( string const & fileName,
|
||||||
if ( headword.find_first_of( '$' ) != string::npos )
|
if ( headword.find_first_of( '$' ) != string::npos )
|
||||||
continue; // Skip this entry
|
continue; // Skip this entry
|
||||||
}
|
}
|
||||||
else if ( headword.end() == '$' ) {
|
else if ( headword.back() == '$' ) {
|
||||||
if ( headword.find_first_of( '/' ) != string::npos )
|
if ( headword.find_first_of( '/' ) != string::npos )
|
||||||
continue; // Skip this entry
|
continue; // Skip this entry
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue