diff options
author | 2012-02-02 14:11:20 -0800 | |
---|---|---|
committer | 2012-02-02 14:11:20 -0800 | |
commit | cdd5b1ed26513c8bcc262fcaeecc277edfdcad7c (patch) | |
tree | ab1c285a15a3f569ea10c107ab6d792b126cc6e4 /wildcard.cpp | |
parent | 884b4026dd08ba7fe2b48363a9b9a25c65de0ed2 (diff) |
Fixed a crash doing completion of commands
Diffstat (limited to 'wildcard.cpp')
-rw-r--r-- | wildcard.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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 ); } |