From cdd5b1ed26513c8bcc262fcaeecc277edfdcad7c Mon Sep 17 00:00:00 2001 From: ridiculousfish Date: Thu, 2 Feb 2012 14:11:20 -0800 Subject: Fixed a crash doing completion of commands --- wildcard.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'wildcard.cpp') diff --git a/wildcard.cpp b/wildcard.cpp index bdafe331..d13de37a 100644 --- a/wildcard.cpp +++ b/wildcard.cpp @@ -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 ); } -- cgit v1.2.3