From ac27ef7c329f6588f36b3463b97e1455dae3f3bc Mon Sep 17 00:00:00 2001 From: Pavel Tsekov Date: Thu, 9 Feb 2006 14:08:38 +0000 Subject: [PATCH] * src/wtools.c (quick_dialog_skip): Do not set `lines' and `cols' members of the newly created dialog explicitly - create_dlg() does this. --- src/ChangeLog | 6 ++++++ src/wtools.c | 4 ---- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/ChangeLog b/src/ChangeLog index 5c5312917..bcb8743ec 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,9 @@ +2006-02-09 Pavel Tsekov + + * wtools.c (quick_dialog_skip): Do not set `lines' and `cols' + members of the newly created dialog explicitly - create_dlg() + does this. + 2006-02-08 Pavel Tsekov * screen.c (panel_callback): Reset the `dirty' flag after the diff --git a/src/wtools.c b/src/wtools.c index 9c93c17ba..5f8c14ed0 100644 --- a/src/wtools.c +++ b/src/wtools.c @@ -326,10 +326,6 @@ quick_dialog_skip (QuickDialog *qd, int nskip) dialog_colors, NULL, qd->help, qd->title, DLG_REVERSE); - /* We pass this to the callback */ - dd->cols = qd->xlen; - dd->lines = qd->ylen; - /* Count widgets */ for (qw = qd->widgets; qw->widget_type; qw++) { count++;