how did a duplicate dim mode get in?
authorCarsten Haitzler <raster@rasterman.com>
Sun, 21 Aug 2011 15:09:48 +0000 (15:09 +0000)
committerCarsten Haitzler <raster@rasterman.com>
Sun, 21 Aug 2011 15:09:48 +0000 (15:09 +0000)
SVN revision: 62661

src/bin/e_backlight.c

index 8a556a8..b537b74 100644 (file)
@@ -127,8 +127,6 @@ e_backlight_mode_set(E_Zone *zone, E_Backlight_Mode mode)
    else if (bl_mode == E_BACKLIGHT_MODE_OFF)
       e_backlight_level_set(zone, 0.0, -1.0);
    else if (bl_mode == E_BACKLIGHT_MODE_DIM)
-      e_backlight_level_set(zone, 0.0, -1.0);
-   else if (bl_mode == E_BACKLIGHT_MODE_DIM)
       e_backlight_level_set(zone, e_config->backlight.dim, -1.0);
    else if (bl_mode == E_BACKLIGHT_MODE_MAX)
       e_backlight_level_set(zone, 1.0, -1.0);