Skip to content

Commit

Permalink
Merge pull request #4 from repojohnray/fixcrashwhenepg
Browse files Browse the repository at this point in the history
Fix crash when epg has no title
  • Loading branch information
M-Reimer authored Jan 14, 2023
2 parents f90067d + a411a4a commit e6b321f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions vnsitimer.c
Original file line number Diff line number Diff line change
Expand Up @@ -449,6 +449,9 @@ void CVNSITimers::Action()
if (event->EndTime() < time(nullptr))
continue;

if (event->Title() == nullptr)
continue;

std::string title(event->Title());
std::smatch m;
std::regex e(Convert(searchTimer.m_search));
Expand Down

0 comments on commit e6b321f

Please sign in to comment.