From 089a1ae9e5463b082aad7199ecc6a9c7331746ba Mon Sep 17 00:00:00 2001 From: Pavel Roskin Date: Thu, 22 Aug 2002 06:10:41 +0000 Subject: [PATCH] * editcmd.c (compl_callback): Use common_dialog_repaint(). --- edit/ChangeLog | 2 ++ edit/editcmd.c | 4 +--- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/edit/ChangeLog b/edit/ChangeLog index 96b55574e..ba1ecda01 100644 --- a/edit/ChangeLog +++ b/edit/ChangeLog @@ -1,5 +1,7 @@ 2002-08-22 Pavel Roskin + * editcmd.c (compl_callback): Use common_dialog_repaint(). + * editcmd.c (raw_callback): Use standard common_dialog_repaint() to handle DLG_DRAW. diff --git a/edit/editcmd.c b/edit/editcmd.c index 249e0fb64..b118d5cca 100644 --- a/edit/editcmd.c +++ b/edit/editcmd.c @@ -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;