diff options
Diffstat (limited to 'epghandler.c')
-rw-r--r-- | epghandler.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/epghandler.c b/epghandler.c index 9bb7776..51074ad 100644 --- a/epghandler.c +++ b/epghandler.c @@ -27,19 +27,19 @@ bool cEEpgHandler::SetEventID(cEvent* Event, tEventID EventID) { } bool cEEpgHandler::SetTitle(cEvent* Event, const char* Title) { - if (Event->Title() == "" || (Title != "" && Title != Event->Title())) + if (!strcmp(Event->Title(),"") || (strcmp(Title,"") && strcmp(Event->Title(),Title))) Event->SetTitle(Title); return true; } bool cEEpgHandler::SetShortText(cEvent* Event, const char* ShortText) { - if (Event->ShortText() == "" || (ShortText != "" && ShortText != Event->ShortText())) + if (!strcmp(Event->ShortText(),"") || (strcmp(ShortText,"") && strcmp(Event->ShortText(),ShortText))) Event->SetShortText(ShortText); return true; } bool cEEpgHandler::SetDescription(cEvent* Event, const char* Description) { - if (Event->Description() == "" || (Description != "" && Description != Event->Description())) + if (!strcmp(Event->Description(),"") || (strcmp(Description,"") && strcmp(Event->Description(),Description))) Event->SetDescription(Description); return true; } |