aboutsummaryrefslogtreecommitdiffhomepage
path: root/env.cpp
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-03-05 10:18:42 -0800
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-03-05 10:18:42 -0800
commit230fb921ec89e3a30d5ccdad57beb1b77b4ab055 (patch)
treeceb3c0b3ed1f70115693b2f3954701cd45cf23f3 /env.cpp
parent82a93d8406ccacc8241a5862fa96155f6b09c9d5 (diff)
We had identical format_val and to_string; standardize on to_string
Diffstat (limited to 'env.cpp')
-rw-r--r--env.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/env.cpp b/env.cpp
index 3795c896..389b0450 100644
--- a/env.cpp
+++ b/env.cpp
@@ -1103,15 +1103,15 @@ env_var_t env_get_string( const wcstring &key )
}
else if( key == L"COLUMNS" )
{
- return format_val((long)common_get_width());
+ return to_string((long)common_get_width());
}
else if( key == L"LINES" )
{
- return format_val((long)common_get_width());
+ return to_string((long)common_get_width());
}
else if( key == L"status" )
{
- return format_val((long)proc_get_last_status());
+ return to_string((long)proc_get_last_status());
}
else if( key == L"umask" )
{