]> granicus.if.org Git - transmission/commitdiff
Revert r6688 (this was no bug)
authorMukund Sivaraman <muks@mukund.org>
Wed, 3 Sep 2008 08:24:42 +0000 (08:24 +0000)
committerMukund Sivaraman <muks@mukund.org>
Wed, 3 Sep 2008 08:24:42 +0000 (08:24 +0000)
gtk/main.c

index d769a22df6282660d22b014269561b5cdf1a1123..ccc88711a8c0a5d9be31ad1fd1cc3c234be0fbf3 100644 (file)
@@ -503,7 +503,7 @@ updateScheduledLimits(gpointer data)
         tm = localtime (&t);
         cur_time = (tm->tm_hour * 60) + tm->tm_min;
 
-        if( end_time <= begin_time )
+        if( end_time >= begin_time )
         {
             if( (cur_time >= begin_time) && (cur_time <= end_time) )
                 in_sched_state = TRUE;