mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-20 16:50:14 +00:00
Remove as much trailing whitespace as possible.
Change-Id: I873c1c6d00f447269bd841494459efccdd2c19c0
This commit is contained in:
@@ -166,7 +166,7 @@ re_putc(EditLine *el, int c, int shift)
|
||||
for(i=1; i < lins; i++)
|
||||
el->el_vdisplay[i-1] = el->el_vdisplay[i];
|
||||
|
||||
firstline[0] = '\0'; /* empty the string */
|
||||
firstline[0] = '\0'; /* empty the string */
|
||||
el->el_vdisplay[i-1] = firstline;
|
||||
} else
|
||||
el->el_refresh.r_cursor.v++;
|
||||
@@ -1002,7 +1002,7 @@ re_fastputc(EditLine *el, int c)
|
||||
if (el->el_cursor.v + 1 >= el->el_term.t_size.v) {
|
||||
int i, lins = el->el_term.t_size.v;
|
||||
char *firstline = el->el_display[0];
|
||||
|
||||
|
||||
for(i=1; i < lins; i++)
|
||||
el->el_display[i-1] = el->el_display[i];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user