1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-26 09:37:56 +00:00

(trunk libT) #2907 "Speed Limit mode not retained after relaunch" -- fixed in trunk for 1.91

This commit is contained in:
Charles Kerr 2010-02-19 06:19:47 +00:00
parent 8a949d0abf
commit 3c936b2849

View file

@ -1180,16 +1180,14 @@ turtleCheckClock( tr_session * session, struct tr_turtle_info * t, tr_bool byUse
static void
turtleBootstrap( tr_session * session, struct tr_turtle_info * turtle )
{
tr_bool isEnabled;
turtleFindNextChange( turtle );
if( turtle->isClockEnabled )
isEnabled = !turtle->_nextChangeValue;
else
isEnabled = turtle->isEnabled;
turtle->changedByUser = FALSE;
useAltSpeed( session, turtle, isEnabled, FALSE );
if( turtle->isClockEnabled )
turtle->isEnabled = !turtle->_nextChangeValue;
altSpeedToggled( session );
}
/***