Fix incorrect comparison
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42354 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
e7c6f5a17f
commit
ef419e3b45
@ -330,7 +330,7 @@ void wxDCBase::DoDrawSpline( wxList *points )
|
||||
double x1, y1, x2, y2;
|
||||
|
||||
wxList::compatibility_iterator node = points->GetFirst();
|
||||
if (node == wxList::compatibility_iterator())
|
||||
if (!node)
|
||||
// empty list
|
||||
return;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user