Skip to content
Snippets Groups Projects
Commit 8baf9dda authored by Deucе's avatar Deucе 👌🏾
Browse files

days == 128 is also "never".

parent b962dd8c
No related branches found
No related tags found
No related merge requests found
...@@ -144,7 +144,7 @@ extern "C" time_t DLLCALL getnexteventtime(event_t* event) ...@@ -144,7 +144,7 @@ extern "C" time_t DLLCALL getnexteventtime(event_t* event)
if(event->misc & EVENT_DISABLED) if(event->misc & EVENT_DISABLED)
return 0; return 0;
if(event->days == 0 || event->freq != 0) if(event->days == 0 || event->days == 128 || event->freq != 0)
return 0; return 0;
if(localtime_r(&t, &tm) == NULL) if(localtime_r(&t, &tm) == NULL)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment