* editcmd.c (compl_callback): Use common_dialog_repaint().

This commit is contained in:
Pavel Roskin 2002-08-22 06:10:41 +00:00
parent 8275c2f5fd
commit 089a1ae9e5
2 changed files with 3 additions and 3 deletions

View File

@ -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.

View File

@ -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;