mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 20:36:50 +03:00
* sldisply.c (tt_sprintf): Add missed break.
* sldisply.c (SLtt_erase_line): Use tt_write() instead tt_write_string().
This commit is contained in:
parent
d79d618c6d
commit
8d50b2240a
@ -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
|
||||
|
@ -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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user