Add support for hishlighting potentially valid paths - default behaviour is to underline them

darcs-hash:20060614132240-ac50b-448a4f8c43007262876d1ab6b52480e46b0e2981.gz
This commit is contained in:
axel
2006-06-14 23:22:40 +10:00
parent 63b02e308d
commit 8fdc46a105
14 changed files with 352 additions and 112 deletions

View File

@@ -438,7 +438,7 @@ int my_wcswidth( const wchar_t *c )
return res;
}
const wchar_t *quote_end( const wchar_t *pos )
wchar_t *quote_end( const wchar_t *pos )
{
wchar_t c = *pos;
@@ -457,7 +457,7 @@ const wchar_t *quote_end( const wchar_t *pos )
{
if( *pos == c )
{
return pos;
return (wchar_t *)pos;
}
}
}