Changed the polarization characters in cDvbSourceParam::GetOsdItem() to uppercase

This commit is contained in:
Klaus Schmidinger 2010-03-07 13:59:11 +01:00
parent 1c922cbb54
commit c07dd4c35b
2 changed files with 3 additions and 2 deletions

View File

@ -6403,3 +6403,4 @@ Video Disk Recorder Revision History
as in previous versions), while 1 means to ask the user whether the recording shall be
deleted.
- Added cChannel::IsSourceType() to test if a channel's source is of a given type.
- Changed the polarization characters in cDvbSourceParam::GetOsdItem() to uppercase.

View File

@ -4,7 +4,7 @@
* See the main source file 'vdr.c' for copyright information and
* how to reach the author.
*
* $Id: dvbdevice.c 2.31 2010/03/06 15:19:17 kls Exp $
* $Id: dvbdevice.c 2.32 2010/03/07 13:58:24 kls Exp $
*/
#include "dvbdevice.h"
@ -610,7 +610,7 @@ cOsdItem *cDvbSourceParam::GetOsdItem(void)
#undef ST
#define ST(s) if (strchr(s, type))
switch (param++) {
case 0: ST(" S ") return new cMenuEditChrItem( tr("Polarization"), &dtp.polarization, "hvlr"); else return GetOsdItem();
case 0: ST(" S ") return new cMenuEditChrItem( tr("Polarization"), &dtp.polarization, "HVLR"); else return GetOsdItem();
case 1: ST(" S ") return new cMenuEditMapItem( tr("System"), &dtp.system, SystemValues); else return GetOsdItem();
case 2: ST(" CS ") return new cMenuEditIntItem( tr("Srate"), &srate); else return GetOsdItem();
case 3: ST("ACST") return new cMenuEditMapItem( tr("Inversion"), &dtp.inversion, InversionValues); else return GetOsdItem();