Permalink
Browse files

Correct typos

  • Loading branch information...
1 parent f96b24c commit 24031850269e947f56130e41969945b1d18b54fa @gaul gaul committed Mar 12, 2013
Showing with 4 additions and 4 deletions.
  1. +2 −2 configfile.c
  2. +1 −1 functions.c
  3. +1 −1 lightum.c
View
@@ -85,8 +85,8 @@ int create_config_file(char* file) {
fprintf(fd, "# 1 = or control brightness/backlight manually using Fn+ F5/F6 keys\n");
fprintf(fd, "manualmode=%d\n\n", default_config.manualmode);
fprintf(fd, "# ignoreuser: only has effect in auto-mode (when manualmode=0)\n");
- fprintf(fd, "# 0 = change maxbrightness value dinamically when user presses Fn+ F5/F6\n");
- fprintf(fd, "# 1 = ignore brightness changess happening outside lightum and keep the\n");
+ fprintf(fd, "# 0 = change maxbrightness value dynamically when user presses Fn+ F5/F6\n");
+ fprintf(fd, "# 1 = ignore brightness changes happening outside lightum and keep the\n");
fprintf(fd, "# maxbrightness value from the config file (fixes bug in ubuntu 12.04)\n");
fprintf(fd, "ignoreuser=%d\n\n", default_config.ignoreuser);
fprintf(fd, "# ignoresession: check if current user has X session active\n");
View
@@ -114,7 +114,7 @@ int get_screen_backlight_value() {
close(fd);
max_backlight=atoi(buf);
- /* make sure we always retrn a value between 0 and 15 */
+ /* make sure we always return a value between 0 and 15 */
return (15*actual_backlight)/max_backlight;
} else {
View
@@ -282,7 +282,7 @@ int main(int argc, char *argv[]) {
light=get_light_sensor_value();
if (verbose) printf("light_sensor: %d ",light);
- // to avoid backlight flickering when the light sensor flaps too fequently
+ // to avoid backlight flickering when the light sensor flaps too frequently
// between two values, we collect lighting values and use the most common
// value of the collected values

0 comments on commit 2403185

Please sign in to comment.