mirror of
https://github.com/irssi/irssi.git
synced 2026-08-09 20:00:23 +02:00
Reindent.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@4450 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
e2cc91c19a
commit
ac4bbd4a22
1 changed files with 7 additions and 7 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue