Renamed env_vars to env_vars_snapshot_t

Cleanup of non-wcstring version of path_get_path
This commit is contained in:
ridiculousfish
2012-07-20 20:39:31 -07:00
parent b290fd33b9
commit b08fb86637
19 changed files with 95 additions and 194 deletions

View File

@@ -114,7 +114,7 @@ int autoload_t::load( const wcstring &cmd, bool reload )
return res;
}
bool autoload_t::can_load( const wcstring &cmd, const env_vars &vars )
bool autoload_t::can_load( const wcstring &cmd, const env_vars_snapshot_t &vars )
{
const wchar_t *path_var_ptr = vars.get(env_var_name.c_str());
if (! path_var_ptr || ! path_var_ptr[0])