Re: [GnomeMeeting-devel-list] [PATCH] vfakeio modification



On lun, 2004-02-09 at 19:12, Stefan Bruens wrote:
My piece of code:
> +       if (width < (unsigned)orig_width)
> +         scale_w = (double)width / orig_width;
> +       else
> +         scale_w = 1;
The one lurchi proposes:
> +       scale_w = (double)width / orig_width;

Comment: I wanted to be sure to get exactly one in case
width==orig_width... I prefer the smaller version if it doesn't give
something stupid like 0.999999 ...

Snark




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]