Fixed a crash doing completion of commands

This commit is contained in:
ridiculousfish
2012-02-02 14:11:20 -08:00
parent 884b4026dd
commit cdd5b1ed26
2 changed files with 2 additions and 3 deletions

View File

@@ -266,11 +266,11 @@ static int wildcard_complete_internal( const wchar_t *orig,
}
if( out_completion )
if(out_completion)
{
completion_allocate( out,
out_completion,
out_desc,
out_desc ? out_desc : L"",
flags );
}