* sldisply.c (tt_sprintf): Add missed break.

* sldisply.c (SLtt_erase_line): Use tt_write() instead
        tt_write_string().
This commit is contained in:
Andrew V. Samoilov 2004-10-14 08:18:49 +00:00
parent d79d618c6d
commit 8d50b2240a
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2004-10-14 Andrew V. Samoilov <sav@bcs.zp.ua>
* sldisply.c (tt_sprintf): Add missed break.
* sldisply.c (SLtt_erase_line): Use tt_write() instead
tt_write_string().
2004-09-26 Mike Gorchak <mike@malva.ua>
* sldisplay.c (SLtt_goto_rc): Disable cursor movement optimizations

View File

@ -462,7 +462,7 @@ static unsigned int tt_sprintf(char *buf, char *fmt, int x, int y)
case '2':
case '3':
if (fmt == fmt_max)
if (fmt == fmt_max) break;
if (*fmt == 'x')
{
char x_fmt_buf [4];
@ -798,7 +798,7 @@ void SLtt_delete_char (void)
void SLtt_erase_line (void)
{
tt_write_string("\r");
tt_write ("\r", 1);
Cursor_Set = 1; Cursor_c = 0;
SLtt_del_eol();
}