summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/ls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ls.c b/src/ls.c
index f011f5fa1..368002024 100644
--- a/src/ls.c
+++ b/src/ls.c
@@ -1334,7 +1334,7 @@ decode_switches (int argc, char **argv)
struct winsize ws;
if (ioctl (STDOUT_FILENO, TIOCGWINSZ, &ws) != -1
- && 0 < ws.ws_col && ws.ws_col <= SIZE_MAX)
+ && 0 < ws.ws_col /* && ws.ws_col <= SIZE_MAX */ )
line_length = ws.ws_col;
}
#endif