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:
Julian Smart 2006-10-24 17:38:02 +00:00
parent e7c6f5a17f
commit ef419e3b45

View File

@ -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;