From 894a5ef55b9e1fe721b6ec8684ec9cb37706b5e7 Mon Sep 17 00:00:00 2001 From: Markus Date: Sat, 3 Aug 2019 22:01:58 +0200 Subject: [PATCH] fix error at search and update: save not full file --- programManager.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/programManager.cpp b/programManager.cpp index b452afe..9ed206b 100644 --- a/programManager.cpp +++ b/programManager.cpp @@ -216,9 +216,6 @@ int ProgramManager::searchModus_update(Settings *settings) //...\n|/serie/stream/2012-das-jahr-null" title="2012 - Das Jahr Null Stream anschauen">2012 - Das Jahr Null\n... serienListe = pageManager.replace(serienListe, "|/serie/stream/", "|/"); - //Performanze: - serienListe = pageManager.grep(serienListe, settings->name, true); - std::stringstream strstream(serienListe); std::string line; serienListe.clear(); @@ -243,6 +240,7 @@ int ProgramManager::searchModus_update(Settings *settings) } ofs << serienListe << std::endl; ofs.close(); + return 0; }