We had identical format_val and to_string; standardize on to_string

This commit is contained in:
ridiculousfish
2012-03-05 10:18:42 -08:00
parent 82a93d8406
commit 230fb921ec
3 changed files with 32 additions and 41 deletions

View File

@@ -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" )
{