mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-30 11:21:15 -03:00
Cleaned up lots of typecasts, simplified some string handling
This commit is contained in:
6
env.cpp
6
env.cpp
@@ -1083,15 +1083,15 @@ env_var_t env_get_string( const wcstring &key )
|
||||
}
|
||||
else if( key == L"COLUMNS" )
|
||||
{
|
||||
return to_string((long)common_get_width());
|
||||
return to_string(common_get_width());
|
||||
}
|
||||
else if( key == L"LINES" )
|
||||
{
|
||||
return to_string((long)common_get_width());
|
||||
return to_string(common_get_width());
|
||||
}
|
||||
else if( key == L"status" )
|
||||
{
|
||||
return to_string((long)proc_get_last_status());
|
||||
return to_string(proc_get_last_status());
|
||||
}
|
||||
else if( key == L"umask" )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user