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 /env_universal.cpp | |
parent | 2ae56564ef2f9752bd59616a551f49b1d1db03fb (diff) |
Modified env_get_string() to accept wcstring instead of wchar_t*.
Diffstat (limited to 'env_universal.cpp')
-rw-r--r-- | env_universal.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/env_universal.cpp b/env_universal.cpp index 94e592a1..fef32fe7 100644 --- a/env_universal.cpp +++ b/env_universal.cpp @@ -318,13 +318,11 @@ int env_universal_read_all() } } -wchar_t *env_universal_get( const wchar_t *name ) +wchar_t *env_universal_get( const wcstring &name ) { if( !init) return 0; - CHECK( name, 0 ); - return env_universal_common_get( name ); } |