aboutsummaryrefslogtreecommitdiffhomepage
path: root/wildcard.c
diff options
context:
space:
mode:
authorGravatar axel <axel@liljencrantz.se>2006-01-08 12:56:56 +1000
committerGravatar axel <axel@liljencrantz.se>2006-01-08 12:56:56 +1000
commit690648e1b0a04db179d113e2900dde52d0e7f67f (patch)
treee06606ec232ce96c730433c2490be796c4e442f8 /wildcard.c
parentb33d3f78b1d3d1b5f9dbb9fbe9000fd6ab181cbb (diff)
Huge upade containing several bugfixes related to i18n, and a huge number of new translatable strings, including almost all description messages for command specific completions
darcs-hash:20060108025656-ac50b-e2309829a0afa6b3270d13814e9600d0fd372407.gz
Diffstat (limited to 'wildcard.c')
-rw-r--r--wildcard.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/wildcard.c b/wildcard.c
index d27bc199..651dd370 100644
--- a/wildcard.c
+++ b/wildcard.c
@@ -131,7 +131,7 @@ static int wildcard_complete_internal( const wchar_t *orig,
const wchar_t *(*desc_func)(const wchar_t *),
array_list_t *out )
{
- if( *wc == 0 &&
+ if( *wc == 0 &&
( ( *str != L'.') || (!is_first)) )
{
if( !out )
@@ -148,7 +148,7 @@ static int wildcard_complete_internal( const wchar_t *orig,
new = wcsdup( str );
sep = wcschr(new, PROG_COMPLETE_SEP );
- *sep = COMPLETE_SEP;
+ *sep = COMPLETE_SEP;
}
else if( desc_func )
{
@@ -163,7 +163,7 @@ static int wildcard_complete_internal( const wchar_t *orig,
Append generic description to item, if the description exists
*/
if( desc && wcslen(desc) )
- new = wcsdupcat2( str, COMPLETE_SEP_STR, desc, (void *)0 );
+ new = wcsdupcat2( str, desc, (void *)0 );
else
new = wcsdup( str );
}