mirror of https://github.com/MidnightCommander/mc
* src/wtools.c (quick_dialog_skip): Do not set `lines' and `cols' members
of the newly created dialog explicitly - create_dlg() does this.
This commit is contained in:
parent
0b52f0032f
commit
ac27ef7c32
|
@ -1,3 +1,9 @@
|
|||
2006-02-09 Pavel Tsekov <ptsekov@gmx.net>
|
||||
|
||||
* 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 <ptsekov@gmx.net>
|
||||
|
||||
* screen.c (panel_callback): Reset the `dirty' flag after the
|
||||
|
|
|
@ -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++;
|
||||
|
|
Loading…
Reference in New Issue