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 /highlight.cpp | |
parent | 737589ec01d3985674db0d85c3eb95ad636e54a0 (diff) |
Const correctness changes
Diffstat (limited to 'highlight.cpp')
-rw-r--r-- | highlight.cpp | 3 |
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 ) |