Changeset 9706


Ignore:
Timestamp:
Dec 10, 2009, 9:49:46 AM (12 years ago)
Author:
charles
Message:

(trunk gtk) fix error in GTK+ client's scrape status text

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gtk/details.c

    r9695 r9706  
    17151715                case TR_TRACKER_WAITING:
    17161716                    g_string_append_c( gstr, '\n' );
    1717                     tr_strltime_rounded( timebuf, now - st->lastScrapeStartTime, sizeof( timebuf ) );
    1718                     g_string_append_printf( gstr, _( "Asking for peer counts now... <small>%s</small>" ), timebuf );
     1717                    tr_strltime_rounded( timebuf, st->nextScrapeTime - now, sizeof( timebuf ) );
     1718                    g_string_append_printf( gstr, _( "Asking for peer counts in %s" ), timebuf );
    17191719                    break;
    17201720                case TR_TRACKER_QUEUED:
     
    17241724                case TR_TRACKER_ACTIVE:
    17251725                    g_string_append_c( gstr, '\n' );
    1726                     tr_strltime_rounded( timebuf, st->nextScrapeTime - now, sizeof( timebuf ) );
    1727                     g_string_append_printf( gstr, _( "Asking for peer counts in %s" ), timebuf );
     1726                    tr_strltime_rounded( timebuf, now - st->lastScrapeStartTime, sizeof( timebuf ) );
     1727                    g_string_append_printf( gstr, _( "Asking for peer counts now... <small>%s</small>" ), timebuf );
    17281728                    break;
    17291729            }
Note: See TracChangeset for help on using the changeset viewer.