[Patch] Fix calculating starttime of repeated timers with start date

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Stone schrieb:

>
>
>
>     C.Y.M. maybe you could test this fix and if it works I will include it
>     into the next version of Enigma. 
>
>
>
> What is the fix? I see the section of the code that  Udo is talking 
> about, but I am not really sure how it is supposed to be.
>
> Best Regards.


You should change a part of void cText2SkinStatus::UpdateEvents(void) in 
status.c so it looks like that:

> if (!dummy.IsSingleEvent()) // add 4 additional rep. timer
> {
>     int j = 0;
>     do
>     {
>         j++; // just to avoid a endless loop
>         dummy.Skip();
>         dummy.Matches(); // Refresh start- and end-time
>     } while (!dummy.DayMatches(dummy.StartTime()) && (j < 7));
> }

This works here. Also with the official release of Klaus.



[Index of Archives]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Big List of Linux Books]     [Fedora Users]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux