Ignore:
Timestamp:
Nov 15, 2007, 4:19:53 AM (15 years ago)
Author:
charles
Message:

cruft removal: use tr_stat's ratio field instead of calculating it ourself.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gtk/torrent-inspector.c

    r3470 r3821  
    821821  g_free (pch);
    822822
    823   pch = ratiostr (stat->downloadedEver, stat->uploadedEver);
     823  pch = g_strdup_printf( "%.1f", stat->ratio );
    824824  gtk_label_set_text (GTK_LABEL(a->ratio_lb), pch);
    825825  g_free (pch);
Note: See TracChangeset for help on using the changeset viewer.