added a small safety check

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12556 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stephan Aßmus 2005-05-03 21:40:29 +00:00
parent 924b7ab22c
commit 48c0335055

View File

@ -77,6 +77,8 @@ namespace agg
BRect cb = m_region->RectAt(0);
m_ren.clip_box_naked(cb.left, cb.top, cb.right, cb.bottom);
}
else
m_ren.clip_box_naked(0, 0, -1, -1);
}
//--------------------------------------------------------------------