Ignore:
Timestamp:
Nov 19, 2009 3:05:32 PM (5 years ago)
Author:
jylam
Message:
  • Better testing cases for autolock_timeout
File:
1 edited

Legend:

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

    r3960 r3961  
    315315        { 
    316316            debug("Autolock is %d\n", screen_list->autolock_timeout); 
    317             if(screen_list->autolock_timeout == 0) 
     317            if(screen_list->autolock_timeout == 0 || 
     318               screen_list->autolock_timeout == ((long long unsigned int)0) - 1) 
    318319            { 
    319320                screen_list->autolock_timeout = atoi(option->value) * 1000000; 
Note: See TracChangeset for help on using the changeset viewer.