aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvolker <volker@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2007-06-21 22:13:40 +0000
committervolker <volker@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2007-06-21 22:13:40 +0000
commite849821bad784c38a550953174da83d00a8ee549 (patch)
tree123f8c1af67956d8265763fe30bea0d2c81cff3b
parent4e604a94f3872b465d51a124f832e3d295fc1772 (diff)
downloadlcd4linux-e849821bad784c38a550953174da83d00a8ee549.tar.gz
default for Brightness is 255
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@813 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
Diffstat (limited to '')
-rw-r--r--drv_X11.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drv_X11.c b/drv_X11.c
index 939909e..f98e1fc 100644
--- a/drv_X11.c
+++ b/drv_X11.c
@@ -427,7 +427,7 @@ static int drv_X11_start(const char *section)
XClearWindow(dp, w);
/* set brightness (after first background painting) */
- if (cfg_number(section, "Brightness", 0, 0, 255, &i) > 0) {
+ if (cfg_number(section, "Brightness", 255, 0, 255, &i) > 0) {
drv_X11_brightness(i);
}