From a2e6186b88a40df42ecd092dc447f54e1a5dd434 Mon Sep 17 00:00:00 2001 From: Christian Gmeiner Date: Thu, 22 Apr 2010 19:09:11 +0200 Subject: code style --- dxr3.c | 40 ++++++++++++++++------------------------ 1 file changed, 16 insertions(+), 24 deletions(-) diff --git a/dxr3.c b/dxr3.c index 87338df..3648d53 100644 --- a/dxr3.c +++ b/dxr3.c @@ -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; -- cgit v1.2.3