Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
78eb494e
Commit
78eb494e
authored
May 10, 2011
by
Paul Eggert
Browse files
* window.c (size_window): Avoid needless test at loop start.
parent
15cc1ab1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
1 deletion
+8
-1
src/ChangeLog
src/ChangeLog
+4
-0
src/window.c
src/window.c
+4
-1
No files found.
src/ChangeLog
View file @
78eb494e
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,
...
...
src/window.c
View file @
78eb494e
...
...
@@ -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,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment