mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-24 04:24:09 +00:00
opt: make code more readable
This commit is contained in:
parent
d1d654226a
commit
375b599f6b
|
@ -876,13 +876,12 @@ void ArticleRequest::stemmedSearchFinished()
|
|||
continueMatching = true;
|
||||
}
|
||||
|
||||
if ( !continueMatching )
|
||||
if ( !continueMatching ) {
|
||||
footer += "</body></html>";
|
||||
|
||||
{
|
||||
appendString( footer );
|
||||
}
|
||||
|
||||
appendString( footer );
|
||||
|
||||
if ( continueMatching )
|
||||
update();
|
||||
else
|
||||
|
@ -898,8 +897,6 @@ void ArticleRequest::compoundSearchNextStep( bool lastSearchSucceeded )
|
|||
|
||||
if ( lastGoodCompoundResult.size() ) // We have something to append
|
||||
{
|
||||
// GD_DPRINTF( "Appending\n" );
|
||||
|
||||
if ( !firstCompoundWasFound ) {
|
||||
// Append the beginning
|
||||
footer += R"(<div class="gdstemmedsuggestion"><span class="gdstemmedsuggestion_head">)"
|
||||
|
|
Loading…
Reference in a new issue