mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-03 18:14:25 +03:00
* editcmd.c (compl_callback): Use common_dialog_repaint().
This commit is contained in:
parent
8275c2f5fd
commit
089a1ae9e5
@ -1,5 +1,7 @@
|
||||
2002-08-22 Pavel Roskin <proski@gnu.org>
|
||||
|
||||
* editcmd.c (compl_callback): Use common_dialog_repaint().
|
||||
|
||||
* editcmd.c (raw_callback): Use standard common_dialog_repaint()
|
||||
to handle DLG_DRAW.
|
||||
|
||||
|
@ -2510,9 +2510,7 @@ static int compl_callback (Dlg_head *h, int key, int Msg)
|
||||
{
|
||||
switch (Msg) {
|
||||
case DLG_DRAW:
|
||||
attrset (COLOR_NORMAL);
|
||||
dlg_erase (h);
|
||||
draw_box (h, 0, 0, compl_dlg_h, compl_dlg_w);
|
||||
common_dialog_repaint (h);
|
||||
break;
|
||||
}
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user