compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20875 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -815,12 +815,13 @@ wxHtmlCell *wxHtmlContainerCell::GetLastTerminal() const
|
|||||||
{
|
{
|
||||||
if ( m_Cells )
|
if ( m_Cells )
|
||||||
{
|
{
|
||||||
wxHtmlCell *c, *c2 = NULL;
|
|
||||||
// most common case first:
|
// most common case first:
|
||||||
c = m_LastCell->GetLastTerminal();
|
wxHtmlCell *c = m_LastCell->GetLastTerminal();
|
||||||
if ( c )
|
if ( c )
|
||||||
return c;
|
return c;
|
||||||
for (wxHtmlCell *c = m_Cells; c; c = c->GetNext())
|
|
||||||
|
wxHtmlCell *c2 = NULL;
|
||||||
|
for (c = m_Cells; c; c = c->GetNext())
|
||||||
c2 = c->GetLastTerminal();
|
c2 = c->GetLastTerminal();
|
||||||
return c2;
|
return c2;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user