diff options
author | nwhitehorn <nwhitehorn@FreeBSD.org> | 2012-10-21 18:18:09 +0000 |
---|---|---|
committer | nwhitehorn <nwhitehorn@FreeBSD.org> | 2012-10-21 18:18:09 +0000 |
commit | a94245b3d36b447d1f761028da7e072210e64b43 (patch) | |
tree | 7533a68fe403654b5f1626734c2336dc7128d3bb /tailbox.c | |
parent | 94f19e002939203294adf4d18b410183682bd2de (diff) | |
download | FreeBSD-src-a94245b3d36b447d1f761028da7e072210e64b43.zip FreeBSD-src-a94245b3d36b447d1f761028da7e072210e64b43.tar.gz |
Import dialog-1.1-20120706
Diffstat (limited to 'tailbox.c')
-rw-r--r-- | tailbox.c | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -1,5 +1,5 @@ /* - * $Id: tailbox.c,v 1.63 2011/06/27 08:19:43 tom Exp $ + * $Id: tailbox.c,v 1.67 2011/10/15 12:43:07 tom Exp $ * * tailbox.c -- implements the tail box * @@ -96,6 +96,7 @@ print_line(MY_OBJ * obj, WINDOW *win, int row, int width) #endif getyx(win, y, x); + (void) y; /* Clear 'residue' of previous line */ for (i = 0; i < width - x; i++) (void) waddch(win, ' '); @@ -336,8 +337,8 @@ dialog_tailbox(const char *title, const char *file, int height, int width, int b y + MARGIN, x + MARGIN); - dlg_draw_box(dialog, 0, 0, height, width, dialog_attr, border_attr); - dlg_draw_bottom_box(dialog); + dlg_draw_box2(dialog, 0, 0, height, width, dialog_attr, border_attr, border2_attr); + dlg_draw_bottom_box2(dialog, border_attr, border2_attr, dialog_attr); dlg_draw_title(dialog, title); dlg_draw_helpline(dialog, FALSE); @@ -371,6 +372,7 @@ dialog_tailbox(const char *title, const char *file, int height, int width, int b dlg_attr_clear(text, thigh, getmaxx(text), dialog_attr); repaint_text(obj); + dlg_trace_win(dialog); if (bg_task) { result = DLG_EXIT_OK; } else { |