Changeset 13895


Ignore:
Timestamp:
Jan 30, 2013, 12:16:20 AM (8 years ago)
Author:
jordan
Message:

only show ratios to one decimal place

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/utils.c

    r13868 r13895  
    13781378tr_strpercent (char * buf, double x, size_t buflen)
    13791379{
    1380   if (x < 10.0)
    1381     tr_strtruncd (buf, x, 2, buflen);
    1382   else if (x < 100.0)
     1380  if (x < 100.0)
    13831381    tr_strtruncd (buf, x, 1, buflen);
    13841382  else
Note: See TracChangeset for help on using the changeset viewer.