diff options
author | axel <axel@liljencrantz.se> | 2006-06-14 23:22:40 +1000 |
---|---|---|
committer | axel <axel@liljencrantz.se> | 2006-06-14 23:22:40 +1000 |
commit | 8fdc46a105cb6f787569dadb9932d8a49d75b891 (patch) | |
tree | 18a41d950363275e517d148a7a73f75864ec1dc7 /builtin_commandline.c | |
parent | 63b02e308d7cc17d40b87bc051f7c76902bbc753 (diff) |
Add support for hishlighting potentially valid paths - default behaviour is to underline them
darcs-hash:20060614132240-ac50b-448a4f8c43007262876d1ab6b52480e46b0e2981.gz
Diffstat (limited to 'builtin_commandline.c')
-rw-r--r-- | builtin_commandline.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/builtin_commandline.c b/builtin_commandline.c index 19e60471..951eb788 100644 --- a/builtin_commandline.c +++ b/builtin_commandline.c @@ -461,13 +461,13 @@ static int builtin_commandline( wchar_t **argv ) buffer_part = STRING_MODE; } - const wchar_t *begin, *end; + wchar_t *begin, *end; switch( buffer_part ) { case STRING_MODE: { - begin = get_buffer(); + begin = (wchar_t *)get_buffer(); end = begin+wcslen(begin); break; } |