diff options
author | Siteshwar Vashisht <siteshwar@gmail.com> | 2012-02-24 00:55:46 +0530 |
---|---|---|
committer | Siteshwar Vashisht <siteshwar@gmail.com> | 2012-02-24 00:58:01 +0530 |
commit | 8232857d0785b5b2db8884d11680de5c2fe9b857 (patch) | |
tree | 9acbad3ff194926b80887f66b0c727b50eb4a71a /autoload.cpp | |
parent | 2ae56564ef2f9752bd59616a551f49b1d1db03fb (diff) |
Modified env_get_string() to accept wcstring instead of wchar_t*.
Diffstat (limited to 'autoload.cpp')
-rw-r--r-- | autoload.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/autoload.cpp b/autoload.cpp index dd3dafbf..e214acb0 100644 --- a/autoload.cpp +++ b/autoload.cpp @@ -75,7 +75,7 @@ int autoload_t::load( const wcstring &cmd, bool reload ) /* Do some work while locked, including determing the path variable */ { scoped_lock locker(lock); - path_var = env_get_string( env_var_name.c_str() ); + path_var = env_get_string( env_var_name ); /* Do we know where to look? |