diff options
author | ridiculousfish <corydoras@ridiculousfish.com> | 2012-03-05 10:18:42 -0800 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2012-03-05 10:18:42 -0800 |
commit | 230fb921ec89e3a30d5ccdad57beb1b77b4ab055 (patch) | |
tree | ceb3c0b3ed1f70115693b2f3954701cd45cf23f3 /env.cpp | |
parent | 82a93d8406ccacc8241a5862fa96155f6b09c9d5 (diff) |
We had identical format_val and to_string; standardize on to_string
Diffstat (limited to 'env.cpp')
-rw-r--r-- | env.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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" ) { |