1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00

bug 1126: use draw_text for titles

I didn't check big dialog boxes.
This commit is contained in:
witekfl 2012-11-19 14:24:34 +01:00
parent d3022aa7be
commit 767a1c4228

View File

@ -117,9 +117,9 @@ redraw_dialog(struct dialog_data *dlg_data, int layout)
y = dlg_data->real_box.y - 1; y = dlg_data->real_box.y - 1;
draw_dlg_text(dlg_data, x - 1, y, " ", 1, 0, title_color); draw_text(term, x - 1, y, " ", 1, 0, title_color);
draw_dlg_text(dlg_data, x, y, title, titlelen, 0, title_color); draw_text(term, x, y, title, titlelen, 0, title_color);
draw_dlg_text(dlg_data, x + titlecells, y, " ", 1, 0, draw_text(term, x + titlecells, y, " ", 1, 0,
title_color); title_color);
} }
} }