mirror of
https://projects.vdr-developer.org/git/vdr-plugin-tvguide.git
synced 2023-10-05 15:01:48 +02:00
Fix a segfault
In the function "cDetailView::InitiateView" there was a segfault when the "call->type = tNone".
This commit is contained in:
parent
eb259fb961
commit
637617bd12
@ -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();
|
||||||
|
Loading…
Reference in New Issue
Block a user