Fix a segfault

In the function "cDetailView::InitiateView" there was a
segfault when the "call->type = tNone".
This commit is contained in:
kamel5 2022-06-18 11:54:16 +02:00
parent eb259fb961
commit 637617bd12

View File

@ -32,6 +32,8 @@ void cDetailView::InitiateView(void) {
view = new cMovieView(call.movieId); view = new cMovieView(call.movieId);
} else if (call.type == tSeries) { } else if (call.type == tSeries) {
view = new cSeriesView(call.seriesId, call.episodeId); view = new cSeriesView(call.seriesId, call.episodeId);
} else {
view = new cEPGView();
} }
} else { } else {
view = new cEPGView(); view = new cEPGView();