SHA256
1
0
forked from pool/dialog
dialog/dialog-1.2-20121230.dif
Dr. Werner Fink b980be8578 Accepting request 1129823 from home:lnussel:branches:Base:System
- don't install config file, dialog has built in defaults anyway
- add support for /usr/etc (dialog-1.3-usretc.diff)

OBS-URL: https://build.opensuse.org/request/show/1129823
OBS-URL: https://build.opensuse.org/package/show/Base:System/dialog?expand=0&rev=57
2023-11-29 13:52:15 +00:00

16 lines
502 B
Plaintext

Index: dialog-1.3-20230209/util.c
===================================================================
--- dialog-1.3-20230209.orig/util.c
+++ dialog-1.3-20230209/util.c
@@ -2406,8 +2406,10 @@ dlg_move_window(WINDOW *win, int height,
#ifdef HAVE_COLOR
if (p->shadow != 0) {
if (dialog_state.use_shadow) {
+ (void) wresize(p->shadow, height, width);
(void) mvwin(p->shadow, y + SHADOW_ROWS, x + SHADOW_COLS);
} else {
+ delwin(p->shadow);
p->shadow = 0;
}
}