aboutsummaryrefslogtreecommitdiffstats
path: root/src/window.c
diff options
context:
space:
mode:
authorKenichi Handa2011-05-19 09:37:36 +0900
committerKenichi Handa2011-05-19 09:37:36 +0900
commit23373930daa192623bfda56960ccb04b2703fbe5 (patch)
tree4350ad7774b3d4dc6f2ccf0e6343b505582e0112 /src/window.c
parenta28d4396018e48479916fd624e2371aa1f75e6e7 (diff)
parent627abcddd1c45a07d58b9c0cbfd6bb62caf256a9 (diff)
downloademacs-23373930daa192623bfda56960ccb04b2703fbe5.tar.gz
emacs-23373930daa192623bfda56960ccb04b2703fbe5.zip
merge trunk
Diffstat (limited to 'src/window.c')
-rw-r--r--src/window.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/window.c b/src/window.c
index 4dbee41c5f4..bc9f31e03e8 100644
--- a/src/window.c
+++ b/src/window.c
@@ -3094,11 +3094,14 @@ size_window (Lisp_Object window, int size, int width_p, int nodelete_p, int firs
3094 Lisp_Object last_child; 3094 Lisp_Object last_child;
3095 int child_size; 3095 int child_size;
3096 3096
3097 for (child = *forward; !NILP (child); child = c->next) 3097 child = *forward;
3098 do
3098 { 3099 {
3099 c = XWINDOW (child); 3100 c = XWINDOW (child);
3100 last_child = child; 3101 last_child = child;
3102 child = c->next;
3101 } 3103 }
3104 while (!NILP (child));
3102 3105
3103 child_size = WINDOW_TOTAL_SIZE (c, width_p); 3106 child_size = WINDOW_TOTAL_SIZE (c, width_p);
3104 size_window (last_child, size - old_size + child_size, 3107 size_window (last_child, size - old_size + child_size,