[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Problem report #56
From: |
Stuart D. Herring |
Subject: |
Re: Problem report #56 |
Date: |
Mon, 10 Apr 2006 13:07:26 -0700 (PDT) |
User-agent: |
SquirrelMail/1.4.3a-11.EL3 |
> 2937 if (size < total && n > 1)
> 2938 new_sizes = shrink_windows (total, size, nchildren, n,
> min_size,
> 2939 resize_fixed_p, *forward,
> width_p);
> 2940 else
> 2941 {
> 2942 each = (size - total) / n;
> 2943 extra = (size - total) - n * each;
> 2944 }
If extra is not assigned here, then new_sizes is. (I assume that
shrink_windows() never returns NULL.)
> 2967 new_size = new_sizes ? new_sizes[n] : old_size + each +
> extra;
...So this is harmless: if we use extra, new_sizes is NULL, so we didn't
assign it, so we assigned extra. No bug.
Davis
--
This product is sold by volume, not by mass. If it appears too dense or
too sparse, it is because mass-energy conversion has occurred during
shipping.
- Problem report #56, Dan Nicolaescu, 2006/04/10
- Re: Problem report #56,
Stuart D. Herring <=