aboutsummaryrefslogtreecommitdiffhomepage
path: root/env.cpp
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-02-06 00:57:43 -0800
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-02-06 00:57:43 -0800
commita534c397f5df818cfb6d07a6c51dc6ba88dac986 (patch)
treefb0937f8e9864748e88d997457252a3a6ad25844 /env.cpp
parent737589ec01d3985674db0d85c3eb95ad636e54a0 (diff)
Const correctness changes
Diffstat (limited to 'env.cpp')
-rw-r--r--env.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/env.cpp b/env.cpp
index 56bbcf40..b5989e7c 100644
--- a/env.cpp
+++ b/env.cpp
@@ -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();