diff options
author | Juan Cespedes <cespedes@debian.org> | 2009-04-07 13:10:08 +0200 |
---|---|---|
committer | Juan Cespedes <cespedes@debian.org> | 2009-04-07 13:10:08 +0200 |
commit | 43739a69d0fb63011609af50f758fbe4734e0c67 (patch) | |
tree | 2d15099466a84f4e63c5344f3a848c376e90c1ae /options.c | |
parent | e2023f721b66db48cc8a0f4ab6519460093c2cf1 (diff) | |
download | ltrace-43739a69d0fb63011609af50f758fbe4734e0c67.tar.gz |
Documentation, small fixes
Diffstat (limited to 'options.c')
-rw-r--r-- | options.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -195,6 +195,8 @@ guess_cols(void) { } } else if (ioctl(1, TIOCGWINSZ, &ws) != -1 && ws.ws_col > 0) { options.align = ws.ws_col * 5 / 8; + } else if (ioctl(2, TIOCGWINSZ, &ws) != -1 && ws.ws_col > 0) { + options.align = ws.ws_col * 5 / 8; } } |