Re: [GnomeMeeting-devel-list] [PATCH] vfakeio modification
- From: PUYDT Julien <julien puydt laposte net>
- To: GnomeMeeting Devel Liste <gnomemeeting-devel-list gnome org>
- Subject: Re: [GnomeMeeting-devel-list] [PATCH] vfakeio modification
- Date: Mon, 09 Feb 2004 19:53:16 +0100
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]