aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libLumina/LuminaOS-FreeBSD.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/libLumina/LuminaOS-FreeBSD.cpp b/libLumina/LuminaOS-FreeBSD.cpp
index fe001ab2..b5d3ed80 100644
--- a/libLumina/LuminaOS-FreeBSD.cpp
+++ b/libLumina/LuminaOS-FreeBSD.cpp
@@ -68,6 +68,9 @@ int LOS::ScreenBrightness(){
screenbrightness = val;
}
}
+ //If it gets to this point, then we have a valid (but new) installation
+ if(screenbrightness<0){ screenbrightness = 100; } //default value for systems
+
return screenbrightness;
}
bgstack15