aboutsummaryrefslogtreecommitdiffhomepage
path: root/highlight.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 /highlight.cpp
parent737589ec01d3985674db0d85c3eb95ad636e54a0 (diff)
Const correctness changes
Diffstat (limited to 'highlight.cpp')
-rw-r--r--highlight.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/highlight.cpp b/highlight.cpp
index 5d6173b5..edd977a4 100644
--- a/highlight.cpp
+++ b/highlight.cpp
@@ -992,8 +992,7 @@ void highlight_shell( const wchar_t *buff, int *color, int pos, array_list_t *er
if( pos >= 0 && pos <= len )
{
- wchar_t *tok_begin, *tok_end;
- wchar_t *token;
+ const wchar_t *tok_begin, *tok_end, *token;
parse_util_token_extent( buff, pos, &tok_begin, &tok_end, 0, 0 );
if( tok_begin && tok_end )