mirror of
https://github.com/rkd77/elinks.git
synced 2024-11-04 08:17:17 -05:00
bug 1126: use draw_text for titles
I didn't check big dialog boxes.
This commit is contained in:
parent
d3022aa7be
commit
767a1c4228
@ -117,9 +117,9 @@ redraw_dialog(struct dialog_data *dlg_data, int layout)
|
||||
y = dlg_data->real_box.y - 1;
|
||||
|
||||
|
||||
draw_dlg_text(dlg_data, x - 1, y, " ", 1, 0, title_color);
|
||||
draw_dlg_text(dlg_data, x, y, title, titlelen, 0, title_color);
|
||||
draw_dlg_text(dlg_data, x + titlecells, y, " ", 1, 0,
|
||||
draw_text(term, x - 1, y, " ", 1, 0, title_color);
|
||||
draw_text(term, x, y, title, titlelen, 0, title_color);
|
||||
draw_text(term, x + titlecells, y, " ", 1, 0,
|
||||
title_color);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user