aboutsummaryrefslogtreecommitdiffhomepage
path: root/common.c
diff options
context:
space:
mode:
authorGravatar axel <axel@liljencrantz.se>2006-06-14 23:22:40 +1000
committerGravatar axel <axel@liljencrantz.se>2006-06-14 23:22:40 +1000
commit8fdc46a105cb6f787569dadb9932d8a49d75b891 (patch)
tree18a41d950363275e517d148a7a73f75864ec1dc7 /common.c
parent63b02e308d7cc17d40b87bc051f7c76902bbc753 (diff)
Add support for hishlighting potentially valid paths - default behaviour is to underline them
darcs-hash:20060614132240-ac50b-448a4f8c43007262876d1ab6b52480e46b0e2981.gz
Diffstat (limited to 'common.c')
-rw-r--r--common.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/common.c b/common.c
index 9475fd64..f2c8f18e 100644
--- a/common.c
+++ b/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;
}
}
}