Const correctness changes

This commit is contained in:
ridiculousfish
2012-02-06 00:57:43 -08:00
parent 737589ec01
commit a534c397f5
9 changed files with 63 additions and 62 deletions

View File

@@ -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 )