[mythtv] patch to add disk space info to 6544 port connections
Kirby Vandivort
kvandivo at ks.uiuc.edu
Mon Sep 22 09:29:04 EDT 2003
:)
Personally, I couldn't care less. However, I just copied the code from
the delete program screen. If we want to change it, that's fine by me.
On Mon, Sep 22, 2003 at 07:24:12AM -0500, Robert Kulagowski wrote:
> >+ os << "<P>Disk Usage:\r\n";
> >+
> >+ os << "<LI>Total Space: ";
> >+ rep.sprintf(tr("%d,%03d MB "), (iTotal) / 1000,
> >+ (iTotal) % 1000);
> >+ os << rep << "\r\n";
> >+
> >+ os << "<LI>Space Used: ";
> >+ rep.sprintf(tr("%d,%03d MB "), (iUsed) / 1000,
> >+ (iUsed) % 1000);
> >+ os << rep << "\r\n";
> >+
> >+ os << "<LI>Space Free: ";
> >+ rep.sprintf(tr("%d,%03d MB "), (iTotal - iUsed) / 1000,
> >+ (iTotal - iUsed) % 1000);
>
> Shouldn't these be binary megabytes instead of marketing megabytes? (Or
> am I not seeing something?)
>
>
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
--
Kirby Vandivort Theoretical and Computational Biophysics
Email: kvandivo at ks.uiuc.edu 3051 Beckman Institute
http://www.ks.uiuc.edu/~kvandivo/ University of Illinois
Phone: (217) 244-5711 405 N. Mathews Ave
Fax : (217) 244-6078 Urbana, IL 61801, USA
More information about the mythtv-dev
mailing list