X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/848c4eb27bacb870d97385560124970b84ee4d72..046d682f0f684977b7ba933a128f5c84e06ded0e:/src/html/htmlcell.cpp diff --git a/src/html/htmlcell.cpp b/src/html/htmlcell.cpp index 8ea2197716..c8be065e51 100644 --- a/src/html/htmlcell.cpp +++ b/src/html/htmlcell.cpp @@ -1237,7 +1237,8 @@ void wxHtmlContainerCell::RemoveExtraSpacing(bool top, bool bottom) cont = (wxHtmlContainerCell*)c; if ( IsEmptyContainer(cont) ) { - cont->SetIndent(0, wxHTML_INDENT_VERTICAL); } + cont->SetIndent(0, wxHTML_INDENT_VERTICAL); + } else { cont->RemoveExtraSpacing(false, true);