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

Reindent.

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4450 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Emanuele Giaquinta 2007-04-14 20:26:22 +00:00 committed by exg
parent e2cc91c19a
commit ac4bbd4a22

View File

@ -243,15 +243,15 @@ static void gui_entry_draw_from(GUI_ENTRY_REC *entry, int pos)
/* clear the rest of the input line */
if (xpos < end_xpos) {
if (end_xpos == term_width)
term_clrtoeol(root_window);
else {
while (xpos < end_xpos) {
term_addch(root_window, ' ');
xpos++;
if (end_xpos == term_width)
term_clrtoeol(root_window);
else {
while (xpos < end_xpos) {
term_addch(root_window, ' ');
xpos++;
}
}
}
}
}
static void gui_entry_draw(GUI_ENTRY_REC *entry)