summaryrefslogtreecommitdiff
path: root/src/global.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/global.cc')
-rw-r--r--src/global.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/global.cc b/src/global.cc
index 2383dd84..0797ecdf 100644
--- a/src/global.cc
+++ b/src/global.cc
@@ -538,6 +538,8 @@ void global_scope_t::normalize_report_options(const string& verb)
cols = rep.HANDLER(columns_).value.to_long();
else if (const char * columns = std::getenv("COLUMNS"))
cols = lexical_cast<long>(columns);
+ else
+ cols = 80L;
if (cols > 0) {
DEBUG("auto.columns", "cols = " << cols);