Skip to content
This repository has been archived by the owner on Apr 15, 2023. It is now read-only.

Commit

Permalink
Merge pull request #192 from sub3/frodo
Browse files Browse the repository at this point in the history
Fixed a bug with EPG events with no description
  • Loading branch information
Lars Op den Kamp committed Jun 8, 2013
2 parents d37ec1d + 2f40608 commit c0372d5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions addons/pvr.nextpvr/src/pvrclient-nextpvr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -347,6 +347,10 @@ PVR_ERROR cPVRClientNextPVR::GetEpg(ADDON_HANDLE handle, const PVR_CHANNEL &chan
{
PVR_STRCPY(description, pListingNode->FirstChildElement("description")->FirstChild()->Value());
}
else
{
description[0] = '\0';
}

char start[32];
strncpy(start, pListingNode->FirstChildElement("start")->FirstChild()->Value(), sizeof start);
Expand Down

0 comments on commit c0372d5

Please sign in to comment.