diff options
author | liljencrantz <liljencrantz@gmail.com> | 2007-10-28 19:08:40 +1000 |
---|---|---|
committer | liljencrantz <liljencrantz@gmail.com> | 2007-10-28 19:08:40 +1000 |
commit | 348e991d7c5616821dd13fa34cea7f2a18b5e869 (patch) | |
tree | 962d57b8e91869dc1c8601d90cd16bb5991e84a6 /reader.c | |
parent | a1af86cb6bc18306cd4badb126a54df3eeaf9349 (diff) |
Indentation fixes, add a few comments, spelling, etc.
darcs-hash:20071028090840-75c98-2ae076441517cd7a0d8172fad28edaf6f034b70c.gz
Diffstat (limited to 'reader.c')
-rw-r--r-- | reader.c | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -1114,7 +1114,7 @@ static void run_pager( wchar_t *prefix, int is_quoted, array_list_t *comp ) { int base_len=-1; - completion_t *el = (completion_t *)al_get( comp, i ); + completion_t *el = (completion_t *)al_get( comp, i ); wchar_t *foo=0; wchar_t *baz=0; @@ -1129,11 +1129,8 @@ static void run_pager( wchar_t *prefix, int is_quoted, array_list_t *comp ) parse_util_token_extent( data->buff, data->buff_pos, &begin, 0, 0, 0 ); base_len = data->buff_pos - (begin-data->buff); - } - - foo = escape( el->completion + base_len, ESCAPE_ALL | ESCAPE_NO_QUOTED ); } else @@ -1294,6 +1291,7 @@ static int handle_completions( array_list_t *comp ) } done = 1; len = 1; + break; } } |