aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog4
-rw-r--r--src/window.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index d0523eb522e..fa3356ca12a 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,7 @@
12001-11-01 Pavel Jan,Bm(Bk <Pavel@Janik.cz>
2
3 * window.c (grow_mini_window): Fix typo in comment.
4
12001-11-01 Gerd Moellmann <gerd@gnu.org> 52001-11-01 Gerd Moellmann <gerd@gnu.org>
2 6
3 * xterm.c (x_scroll_bar_create): Check for width and height > 0. 7 * xterm.c (x_scroll_bar_create): Check for width and height > 0.
diff --git a/src/window.c b/src/window.c
index 5f122976d9b..4ac39dde882 100644
--- a/src/window.c
+++ b/src/window.c
@@ -3751,7 +3751,7 @@ grow_mini_window (w, delta)
3751 { 3751 {
3752 int min_height = window_min_size (root, 0, 0, 0); 3752 int min_height = window_min_size (root, 0, 0, 0);
3753 if (XFASTINT (root->height) - delta < min_height) 3753 if (XFASTINT (root->height) - delta < min_height)
3754 /* Note that the roor window may already be smaller than 3754 /* Note that the root window may already be smaller than
3755 min_height. */ 3755 min_height. */
3756 delta = max (0, XFASTINT (root->height) - min_height); 3756 delta = max (0, XFASTINT (root->height) - min_height);
3757 } 3757 }