summaryrefslogtreecommitdiff
path: root/osdteletext.c
diff options
context:
space:
mode:
Diffstat (limited to 'osdteletext.c')
-rw-r--r--osdteletext.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/osdteletext.c b/osdteletext.c
index 2f24611..62249d2 100644
--- a/osdteletext.c
+++ b/osdteletext.c
@@ -181,14 +181,8 @@ bool cPluginTeletextosd::Start(void)
// Start any background activities the plugin shall perform.
//Clean any files which might be remaining from the last session,
//perhaps due to a crash they have not been deleted.
- storage = Storage::CreateInstance(storageSystem);
- if(storage) {
- if (maxStorage>=0)
- storage->setMaxStorage(maxStorage);
- storage->init();
- } else {
- return false;
- }
+ storage = Storage::CreateInstance(storageSystem, maxStorage);
+
initTexts();
if (startReceiver)
txtStatus=new cTxtStatus(storeTopText, storage);