aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar axel <axel@liljencrantz.se>2006-01-22 06:44:23 +1000
committerGravatar axel <axel@liljencrantz.se>2006-01-22 06:44:23 +1000
commit487c27592671134d9e29e1b4516784cb67103050 (patch)
treebffa824507f481d411eac653676748733d5e6c07
parent2f143303b7dfc0bbb0f587d9c3ec9fdc95afe4ba (diff)
Bugfix for command completion descriptions, potential crash on strange output from apropos
darcs-hash:20060121204423-ac50b-b4583611b49f9ec54de7b8529b2652ce93d03980.gz
-rw-r--r--complete.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/complete.c b/complete.c
index d3fa4529..42d34ca2 100644
--- a/complete.c
+++ b/complete.c
@@ -1144,7 +1144,7 @@ static void complete_cmd_desc( const wchar_t *cmd, array_list_t *comp )
val_begin++;
}
- if( !val_begin )
+ if( !*val_begin )
{
continue;
}