diff options
Diffstat (limited to 'text-utils/more.c')
-rw-r--r-- | text-utils/more.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/text-utils/more.c b/text-utils/more.c index 36c26ead0..d261f7334 100644 --- a/text-utils/more.c +++ b/text-utils/more.c @@ -1813,7 +1813,7 @@ retry: no_intty = tcgetattr(fileno(stdin), &otty); tcgetattr(fileno(stderr), &otty); savetty0 = otty; - slow_tty = (otty.c_cflag & CBAUD) < B1200; + slow_tty = cfgetispeed(&otty) < B1200; hardtabs = (otty.c_oflag & TABDLY) != XTABS; if (!no_tty) { otty.c_lflag &= ~(ICANON|ECHO); |