Ignore:
Timestamp:
Nov 19, 2009, 3:05:32 PM (11 years ago)
Author:
Jean-Yves Lamoureux
Message:
  • Better testing cases for autolock_timeout
File:
1 edited

Legend:

Unmodified
Added
Removed
  • neercs/trunk/src/main.c

    r3960 r3961  
    411411        case 'l':
    412412            screen_list->autolock_timeout = atoi(myoptarg) * 1000000;
    413             /* If value is 0 (non-numeric or 0),
    414              * configuration.c will set it to ((unsigned) -1)*/
     413                if(screen_list->autolock_timeout == 0)
     414                screen_list->autolock_timeout-=1;
    415415            break;
    416416        case 'r':
Note: See TracChangeset for help on using the changeset viewer.