Commit 78eb494e authored by Paul Eggert's avatar Paul Eggert

* window.c (size_window): Avoid needless test at loop start.

parent 15cc1ab1
2011-05-11 Paul Eggert <eggert@cs.ucla.edu>
* window.c (size_window): Avoid needless test at loop start.
2011-05-10 Juanma Barranquero <lekktu@gmail.com>
* image.c (Finit_image_library): Return t for built-in image types,
......
......@@ -3094,11 +3094,14 @@ size_window (Lisp_Object window, int size, int width_p, int nodelete_p, int firs
Lisp_Object last_child;
int child_size;
for (child = *forward; !NILP (child); child = c->next)
child = *forward;
do
{
c = XWINDOW (child);
last_child = child;
child = c->next;
}
while (!NILP (child));
child_size = WINDOW_TOTAL_SIZE (c, width_p);
size_window (last_child, size - old_size + child_size,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment