On 27 Apr 2004, Bill Pringlemeir wrote:

> Correct.  File size was 8 bytes and v->context->width was 640.  I
> crashes X-Windows twice and GTKG several times before I actually
> inserted a printf before the calculation.
>
> printf("v->file_size %d, v->context->width %d\n",
> v->file_size , v->context->width);
>
> The values cause an underflow in the division and the result is
> zero.  This would seem to happen for any file that is less than the
> size of the display.  Most people wouldn't download such small
> files.

This has now been fixed in CVS. Thanks for the report and for digging
up the causes.

Kind regards,

Hans


-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
Gtk-gnutella-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/gtk-gnutella-devel

Reply via email to