mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-07 18:21:16 -03:00
Add support for hishlighting potentially valid paths - default behaviour is to underline them
darcs-hash:20060614132240-ac50b-448a4f8c43007262876d1ab6b52480e46b0e2981.gz
This commit is contained in:
4
common.c
4
common.c
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user