unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Stuart D. Herring" <herring@lanl.gov>
Subject: Re: Problem report #56
Date: Mon, 10 Apr 2006 13:07:26 -0700 (PDT)	[thread overview]
Message-ID: <38454.128.165.123.132.1144699646.squirrel@webmail.lanl.gov> (raw)
In-Reply-To: <200604101902.k3AJ2TcD006090@scanner2.ics.uci.edu>

> 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.

      reply	other threads:[~2006-04-10 20:07 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-10 19:02 Problem report #56 Dan Nicolaescu
2006-04-10 20:07 ` Stuart D. Herring [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=38454.128.165.123.132.1144699646.squirrel@webmail.lanl.gov \
    --to=herring@lanl.gov \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).