devilhorns pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=2814066c39aada30369a0cda04960eb87fdb4521

commit 2814066c39aada30369a0cda04960eb87fdb4521
Author: Chris Michael <cp.mich...@samsung.com>
Date:   Wed Oct 14 10:22:19 2015 -0400

    enlightenment: Fix E_CONFIG_LIMIT to use the proper min & max values
    
    e_config->backlight.idle_dim is actually an unsigned char in the
    structure, so use a 0 & 1 for min & max
    
    Signed-off-by: Chris Michael <cp.mich...@samsung.com>
---
 src/bin/e_config.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/e_config.c b/src/bin/e_config.c
index 9a308a3..74fe11e 100644
--- a/src/bin/e_config.c
+++ b/src/bin/e_config.c
@@ -1502,7 +1502,7 @@ e_config_load(void)
 
    E_CONFIG_LIMIT(e_config->backlight.normal, 0.05, 1.0);
    E_CONFIG_LIMIT(e_config->backlight.dim, 0.05, 1.0);
-   E_CONFIG_LIMIT(e_config->backlight.idle_dim, 0.05, 1.0);
+   E_CONFIG_LIMIT(e_config->backlight.idle_dim, 0, 1);
 
    if (!e_config->icon_theme)
      e_config->icon_theme = eina_stringshare_add("hicolor");  // FDO default

-- 


Reply via email to