diff options
author | Patrick J Volkerding <volkerdi@slackware.com> | 2020-01-02 21:15:46 +0000 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2020-01-03 08:59:49 +0100 |
commit | e4325044a8839cd09f34e5fd73e7f0ce01fcd986 (patch) | |
tree | 7316a18584df9dad63e58ed83a38ca0c4c6bbb86 /source/a/dialog/dialog.all.use_height.diff | |
parent | 28ca6fabe4f11e839f66810fb111ae094e9aa79c (diff) | |
download | current-e4325044a8839cd09f34e5fd73e7f0ce01fcd986.tar.gz current-e4325044a8839cd09f34e5fd73e7f0ce01fcd986.tar.xz |
Thu Jan 2 21:15:46 UTC 202020200102211546
a/dialog-1.3_20191210-x86_64-1.txz: Upgraded.
a/shadow-4.8-x86_64-2.txz: Rebuilt.
Don't ship /etc/environment.new since sudo is no longer complaining about it.
ap/lxc-2.0.11_fad08f383-x86_64-4.txz: Rebuilt.
Make sure all initial devices are properly created.
Fix accidental handling of rc.lxc as a modified-for-lxc init script.
Thanks to crts.
d/python-setuptools-44.0.0-x86_64-1.txz: Upgraded.
l/libedit-20191231_3.1-x86_64-1.txz: Upgraded.
l/python-pillow-7.0.0-x86_64-1.txz: Upgraded.
Diffstat (limited to 'source/a/dialog/dialog.all.use_height.diff')
-rw-r--r-- | source/a/dialog/dialog.all.use_height.diff | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/source/a/dialog/dialog.all.use_height.diff b/source/a/dialog/dialog.all.use_height.diff new file mode 100644 index 000000000..9eb1952c7 --- /dev/null +++ b/source/a/dialog/dialog.all.use_height.diff @@ -0,0 +1,48 @@ +--- ./menubox.c.orig 2019-11-10 19:41:15.000000000 -0600 ++++ ./menubox.c 2019-12-06 13:16:39.400865476 -0600 +@@ -433,7 +433,8 @@ + * After displaying the prompt, we know how much space we really have. + * Limit the list to avoid overwriting the ok-button. + */ +- all.menu_height = height - MIN_HIGH - cur_y; ++ if (all.menu_height + MIN_HIGH > height - cur_y) ++ all.menu_height = height - MIN_HIGH - cur_y; + if (all.menu_height <= 0) + all.menu_height = 1; + +--- ./buildlist.c.orig 2019-11-10 19:41:43.000000000 -0600 ++++ ./buildlist.c 2019-12-06 13:16:39.402865476 -0600 +@@ -653,7 +653,8 @@ + * After displaying the prompt, we know how much space we really have. + * Limit the list to avoid overwriting the ok-button. + */ +- all.use_height = height - MIN_HIGH - cur_y; ++ if (all.use_height + MIN_HIGH > height - cur_y) ++ all.use_height = height - MIN_HIGH - cur_y; + if (all.use_height <= 0) + all.use_height = 1; + +--- ./checklist.c.orig 2019-11-10 19:26:35.000000000 -0600 ++++ ./checklist.c 2019-12-06 13:16:39.404865476 -0600 +@@ -304,7 +304,8 @@ + * After displaying the prompt, we know how much space we really have. + * Limit the list to avoid overwriting the ok-button. + */ +- all.use_height = height - MIN_HIGH - cur_y; ++ if (all.use_height + MIN_HIGH > height - cur_y) ++ all.use_height = height - MIN_HIGH - cur_y; + if (all.use_height <= 0) + all.use_height = 1; + +--- ./treeview.c.orig 2019-11-10 19:38:22.000000000 -0600 ++++ ./treeview.c 2019-12-06 13:17:35.604866677 -0600 +@@ -291,7 +291,8 @@ + * After displaying the prompt, we know how much space we really have. + * Limit the list to avoid overwriting the ok-button. + */ +- use_height = height - MIN_HIGH - cur_y; ++ if (use_height + MIN_HIGH > height - cur_y) ++ use_height = height - MIN_HIGH - cur_y; + if (use_height <= 0) + use_height = 1; + |