Should fix a crash when canceling image selection with an empty image list.

Thanks to murai for this one


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7259 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Jérôme Duval 2004-04-20 07:21:18 +00:00
parent 775cef0314
commit da766ff5ee

View File

@ -95,6 +95,7 @@ BGView::BGView(BRect frame, const char *name, int32 resize, int32 flags)
:BBox(frame, name, resize, flags | B_WILL_DRAW | B_FRAME_EVENTS, B_PLAIN_BORDER),
fCurrent(NULL),
fCurrentInfo(NULL),
fLastImageIndex(-1),
fPathList(1, true),
fImageList(1, true)
{