diff options
author | ridiculousfish <corydoras@ridiculousfish.com> | 2012-02-06 00:57:43 -0800 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2012-02-06 00:57:43 -0800 |
commit | a534c397f5df818cfb6d07a6c51dc6ba88dac986 (patch) | |
tree | fb0937f8e9864748e88d997457252a3a6ad25844 /env.cpp | |
parent | 737589ec01d3985674db0d85c3eb95ad636e54a0 (diff) |
Const correctness changes
Diffstat (limited to 'env.cpp')
-rw-r--r-- | env.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1143,7 +1143,7 @@ env_var_t env_get_string( const wchar_t *key ) if( wcscmp( key, L"history" ) == 0 ) { wcstring result; - wchar_t *current; + const wchar_t *current; int i; int add_current=0; @@ -1251,7 +1251,7 @@ const wchar_t *env_get( const wchar_t *key ) if( wcscmp( key, L"history" ) == 0 ) { - wchar_t *current; + const wchar_t *current; dyn_var.clear(); current = reader_get_buffer(); |