mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-24 08:34:08 +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;
|
continueMatching = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( !continueMatching )
|
if ( !continueMatching ) {
|
||||||
footer += "</body></html>";
|
footer += "</body></html>";
|
||||||
|
|
||||||
{
|
|
||||||
appendString( footer );
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
appendString( footer );
|
||||||
|
|
||||||
if ( continueMatching )
|
if ( continueMatching )
|
||||||
update();
|
update();
|
||||||
else
|
else
|
||||||
|
@ -898,8 +897,6 @@ void ArticleRequest::compoundSearchNextStep( bool lastSearchSucceeded )
|
||||||
|
|
||||||
if ( lastGoodCompoundResult.size() ) // We have something to append
|
if ( lastGoodCompoundResult.size() ) // We have something to append
|
||||||
{
|
{
|
||||||
// GD_DPRINTF( "Appending\n" );
|
|
||||||
|
|
||||||
if ( !firstCompoundWasFound ) {
|
if ( !firstCompoundWasFound ) {
|
||||||
// Append the beginning
|
// Append the beginning
|
||||||
footer += R"(<div class="gdstemmedsuggestion"><span class="gdstemmedsuggestion_head">)"
|
footer += R"(<div class="gdstemmedsuggestion"><span class="gdstemmedsuggestion_head">)"
|
||||||
|
|
Loading…
Reference in a new issue