Changeset 22315


Ignore:
Timestamp:
07/11/13 12:19:13 (10 years ago)
Author:
obi
Message:

fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • titan/titan/powerofftimer.h

    r22312 r22315  
    205205                                }
    206206                        }
    207       if(rcret == getrcconfigint("rcsleep", NULL))
     207                        if(rcret == getrcconfigint("rcsleep", NULL))
    208208                        {
    209209                                if(minutes->ret != NULL)
     
    211211                                        int min = atoi(minutes->ret);
    212212                                        min += 30;
    213                                         if(min > 999) min = 999;
     213                                        if(min > 180) min = 30;
    214214                                        char *tmpstr = NULL;
    215215                                        tmpstr = oitoa(min);
Note: See TracChangeset for help on using the changeset viewer.