diff options
| author | Paul Eggert | 2011-05-15 10:17:44 -0700 |
|---|---|---|
| committer | Paul Eggert | 2011-05-15 10:17:44 -0700 |
| commit | 067a69a2d38db30190997dc48dbf82988ffa3583 (patch) | |
| tree | f8ce54ac9c65d32d1349cb449485ed0ba1833d57 /src/window.c | |
| parent | 5e9e35cd1dd6e4fb47c6720991581508b89f87f7 (diff) | |
| parent | 9fbd68410f1680b5b9bc2d56c239183ea13c7d58 (diff) | |
| download | emacs-067a69a2d38db30190997dc48dbf82988ffa3583.tar.gz emacs-067a69a2d38db30190997dc48dbf82988ffa3583.zip | |
Merge: user-interface timestamps and other int overflow patches.
Diffstat (limited to 'src/window.c')
| -rw-r--r-- | src/window.c | 5 |
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, |