Minor code tweaks, including making sure builtins are not run if an io redirection issue occurs and removing a lot commented debug code

darcs-hash:20060603223533-ac50b-204ff1fb1a4912565044e7bc4b86102a7eeba192.gz
This commit is contained in:
axel
2006-06-04 08:35:33 +10:00
parent 48ca253097
commit 446272eee6
3 changed files with 55 additions and 81 deletions

View File

@@ -814,8 +814,7 @@ static void highlight_universal_internal( wchar_t * buff,
wchar_t inc_char = buff[pos];
int level = 0;
wchar_t *str = &buff[pos];
int match_found=0;
int match_found=0;
while( (str >= buff) && *str)
{
@@ -847,7 +846,7 @@ void highlight_universal( wchar_t * buff,
{
int i;
for( i=0; buff[i] != 0; i++ )
for( i=0; buff[i]; i++ )
color[i] = 0;
highlight_universal_internal( buff, color, pos, error );