make sure we don't load Blackness addon
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13933 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
d50852ad0c
commit
cab4e35c22
@ -72,6 +72,9 @@ ScreenSaverThread::Thread()
|
||||
BScreenSaver *
|
||||
ScreenSaverThread::LoadAddOn()
|
||||
{
|
||||
if (strcmp("", fPref->ModuleName()) == 0)
|
||||
return NULL;
|
||||
|
||||
BScreenSaver *(*instantiate)(BMessage *, image_id );
|
||||
if (fAddonImage) { // This is a new set of preferences. Free up what we did have
|
||||
unload_add_on(fAddonImage);
|
||||
|
Loading…
Reference in New Issue
Block a user