From b5e656ae0259211cf0beb02d19d87a651435625f Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Thu, 27 May 2004 16:25:07 +0000 Subject: [PATCH] fixed iteration over cells git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27466 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/html/htmlcell.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/html/htmlcell.cpp b/src/html/htmlcell.cpp index 0fdae44298..0e1b2a00fe 100644 --- a/src/html/htmlcell.cpp +++ b/src/html/htmlcell.cpp @@ -800,7 +800,7 @@ void wxHtmlContainerCell::Layout(int w) { prev = next = NULL; - for ( int n = 0; line != cell; line = line->GetNext() ) + for ( int n = 0; line != cell; prev = line, line = next ) { line->SetPos(line->GetPosX() + s_indent + ((n * step) / total), -- 2.45.2