Avoid crashing by returning a valid BView pointer

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2993 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
beveloper 2003-03-23 01:05:15 +00:00
parent e3057c0adb
commit 8239aad969

View File

@ -4,6 +4,7 @@
* DESCR:
***********************************************************************/
#include <MediaTheme.h>
#include <StringView.h>
#include "debug.h"
/*************************************************************
@ -56,7 +57,7 @@ BMediaTheme::ViewFor(BParameterWeb *web,
BMediaTheme *using_theme)
{
UNIMPLEMENTED();
return NULL;
return new BStringView(BRect(0,0,200,30), "", "No BMediaTheme, sorry!");
}