mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-03 15:01:16 -03:00
We had identical format_val and to_string; standardize on to_string
This commit is contained in:
6
env.cpp
6
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" )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user