diff options
Diffstat (limited to 'util-linux/more.c')
-rw-r--r-- | util-linux/more.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/util-linux/more.c b/util-linux/more.c index 92ebdfea9..dc5b4c99e 100644 --- a/util-linux/more.c +++ b/util-linux/more.c | |||
@@ -154,8 +154,10 @@ int more_main(int argc, char **argv) | |||
154 | 154 | ||
155 | /* The user may have resized the terminal. | 155 | /* The user may have resized the terminal. |
156 | * Re-read the dimensions. */ | 156 | * Re-read the dimensions. */ |
157 | #if ENABLE_FEATURE_USE_TERMIOS | ||
157 | get_terminal_width_height(cin_fileno, &terminal_width, &terminal_height); | 158 | get_terminal_width_height(cin_fileno, &terminal_width, &terminal_height); |
158 | terminal_height -= 1; | 159 | terminal_height -= 1; |
160 | #endif | ||
159 | } | 161 | } |
160 | 162 | ||
161 | /* Crudely convert tabs into spaces, which are | 163 | /* Crudely convert tabs into spaces, which are |