mirror of
https://projects.vdr-developer.org/git/vdr-plugin-skindesigner.git
synced 2023-10-19 17:58:31 +02:00
Fix compiler error
This commit is contained in:
parent
7d269ffd85
commit
5b61c36484
@ -2058,7 +2058,8 @@ bool cLeMenuRecordings::Parse(bool forced) {
|
||||
}
|
||||
|
||||
int errors = -1;
|
||||
#if defined (APIVERSNUM) && (APIVERSNUM >= 20504)
|
||||
// ENABLE_ERRORS is only used in VDR-2.5.4 if the coresponding patch is installed, so it can be ignored in other versions
|
||||
#if (defined (APIVERSNUM) && (APIVERSNUM >= 20505)) || defined (ENABLE_ERRORS)
|
||||
errors = info->Errors();
|
||||
#endif
|
||||
|
||||
@ -2278,7 +2279,8 @@ bool cCeMenuRecordings::Parse(bool forced) {
|
||||
}
|
||||
|
||||
int errors = -1;
|
||||
#if defined (APIVERSNUM) && (APIVERSNUM >= 20504)
|
||||
// ENABLE_ERRORS is only used in VDR-2.5.4 if the coresponding patch is installed, so it can be ignored in other versions
|
||||
#if (defined (APIVERSNUM) && (APIVERSNUM >= 20505)) || defined (ENABLE_ERRORS)
|
||||
errors = info->Errors();
|
||||
#endif
|
||||
|
||||
|
@ -675,7 +675,8 @@ bool cViewDetailRec::Parse(bool forced) {
|
||||
tokenContainer->AddStringToken((int)eDmDetailedRecST::description, info->Description());
|
||||
tokenContainer->AddIntToken((int)eDmDetailedRecIT::framesPerSecond, info->FramesPerSecond());
|
||||
int errors = -1;
|
||||
#if defined (APIVERSNUM) && (APIVERSNUM >= 20504)
|
||||
// ENABLE_ERRORS is only used in VDR-2.5.4 if the coresponding patch is installed, so it can be ignored in other versions
|
||||
#if (defined (APIVERSNUM) && (APIVERSNUM >= 20505)) || defined (ENABLE_ERRORS)
|
||||
errors = info->Errors();
|
||||
#endif
|
||||
tokenContainer->AddIntToken((int)eDmDetailedRecIT::errors, errors);
|
||||
|
@ -1230,7 +1230,8 @@ bool cVeDmDetailheaderRec::Parse(bool forced) {
|
||||
tokenContainer->AddStringToken((int)eDmDetailedHeaderRecST::shorttext, info->ShortText());
|
||||
tokenContainer->AddIntToken((int)eDmDetailedHeaderRecIT::framesPerSecond, info->FramesPerSecond());
|
||||
int errors = -1;
|
||||
#if defined (APIVERSNUM) && (APIVERSNUM >= 20504)
|
||||
// ENABLE_ERRORS is only used in VDR-2.5.4 if the coresponding patch is installed, so it can be ignored in other versions
|
||||
#if (defined (APIVERSNUM) && (APIVERSNUM >= 20505)) || defined (ENABLE_ERRORS)
|
||||
errors = info->Errors();
|
||||
#endif
|
||||
tokenContainer->AddIntToken((int)eDmDetailedHeaderRecIT::errors, errors);
|
||||
|
Loading…
Reference in New Issue
Block a user