mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 12:32:40 +03:00
Merge branch '2452_handle_baudrate_error'
Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
This commit is contained in:
commit
c5b8b69371
@ -854,7 +854,8 @@ setup_mc (void)
|
||||
#endif /* HAVE_CHARSET */
|
||||
#endif /* HAVE_SLANG */
|
||||
|
||||
if ((tty_baudrate () < 9600) || mc_global.tty.slow_terminal)
|
||||
const int baudrate = tty_baudrate ();
|
||||
if ((baudrate > 0 && baudrate < 9600) || mc_global.tty.slow_terminal)
|
||||
verbose = FALSE;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user