SHA256
1
0
forked from pool/dialog
dialog/dialog-1.2-20121230.dif
2013-02-28 11:18:27 +00:00

14 lines
391 B
Plaintext

--- util.c
+++ util.c 2013-02-28 11:09:24.466267899 +0100
@@ -2112,8 +2112,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;
}
}