diff options
author | Christian Gmeiner <christian.gmeiner@gmail.com> | 2010-04-22 19:09:11 +0200 |
---|---|---|
committer | Christian Gmeiner <christian.gmeiner@gmail.com> | 2010-04-22 19:09:11 +0200 |
commit | a2e6186b88a40df42ecd092dc447f54e1a5dd434 (patch) | |
tree | 353ee58bbeb653b65981bd5720d9db39a80a43f9 | |
parent | b2353c491bcf88dcecb3220b0016c2b4a71d4203 (diff) | |
download | vdr-plugin-dxr3-a2e6186b88a40df42ecd092dc447f54e1a5dd434.tar.gz vdr-plugin-dxr3-a2e6186b88a40df42ecd092dc447f54e1a5dd434.tar.bz2 |
code style
-rw-r--r-- | dxr3.c | 40 |
1 files changed, 16 insertions, 24 deletions
@@ -172,45 +172,37 @@ cMenuSetupPage* cPluginDxr3::SetupMenu() // ================================== bool cPluginDxr3::SetupParse(const char *Name, const char *Value) { - if (!strcasecmp(Name, "UseDigitalOut")) - { + if (!strcasecmp(Name, "UseDigitalOut")) { cSettings::instance()->useDigitalOut(atoi(Value)); - return true; + return true; } - if (!strcasecmp(Name, "Dxr3Card")) - { + if (!strcasecmp(Name, "Dxr3Card")) { cSettings::instance()->card(atoi(Value)); - return true; + return true; } - if (!strcasecmp(Name, "Dxr3VideoMode")) - { + if (!strcasecmp(Name, "Dxr3VideoMode")) { cSettings::instance()->videoMode((eVideoMode) atoi(Value)); - return true; + return true; } - if (!strcasecmp(Name, "UseWSS")) - { + if (!strcasecmp(Name, "UseWSS")) { cSettings::instance()->useWss(atoi(Value)); - return true; + return true; } - if (!strcasecmp(Name, "HideMenu")) - { + if (!strcasecmp(Name, "HideMenu")) { cSettings::instance()->hideMenu(atoi(Value)); - return true; + return true; } - if (!strcasecmp(Name, "Brightness")) - { + if (!strcasecmp(Name, "Brightness")) { cSettings::instance()->brightness(atoi(Value)); - return true; + return true; } - if (!strcasecmp(Name, "Contrast")) - { + if (!strcasecmp(Name, "Contrast")) { cSettings::instance()->contrast(atoi(Value)); - return true; + return true; } - if (!strcasecmp(Name, "Saturation")) - { + if (!strcasecmp(Name, "Saturation")) { cSettings::instance()->saturation(atoi(Value)); - return true; + return true; } return false; |