aboutsummaryrefslogtreecommitdiffhomepage
path: root/complete.c
diff options
context:
space:
mode:
authorGravatar axel <axel@liljencrantz.se>2007-01-08 00:24:30 +1000
committerGravatar axel <axel@liljencrantz.se>2007-01-08 00:24:30 +1000
commit63010c26add860135af75337be6218b08bed9ee6 (patch)
tree6b89fa593810e516be9c153f1c1eb9fed2663547 /complete.c
parentf398b2eafaac6c5c91e734cc3ccb77294f0fb674 (diff)
Two very minor code touch ups
darcs-hash:20070107142430-ac50b-20cd4fe96c03c052bb6fb5c07ce207a534e86498.gz
Diffstat (limited to 'complete.c')
-rw-r--r--complete.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/complete.c b/complete.c
index 270d7274..22c15cf9 100644
--- a/complete.c
+++ b/complete.c
@@ -1228,14 +1228,14 @@ static void complete_cmd_desc( const wchar_t *cmd, array_list_t *comp )
continue;
key = el+wcslen(cmd_start);
- key_end = wcschr( el, L'\t' );
+ key_end = wcschr( key, L'\t' );
if( !key_end )
continue;
*key_end = 0;
val_begin = key_end+1;
-
+
/*
And once again I make sure the first character is uppercased
because I like it that way, and I get to decide these