aboutsummaryrefslogtreecommitdiffhomepage
path: root/wildcard.cpp
diff options
context:
space:
mode:
authorGravatar Siteshwar Vashisht <siteshwar@gmail.com>2012-01-19 00:03:19 +0530
committerGravatar Siteshwar Vashisht <siteshwar@gmail.com>2012-01-19 00:03:19 +0530
commitc9595848310cd9b2c62b53310aea8942146f8b12 (patch)
treea94c06672eee7532ccc88e63cfb8811cf7d5099d /wildcard.cpp
parent7e124cf95e2a85897bd78b6362ff9b9b1b87c4b8 (diff)
Fixed reader.cpp to not show garbage while showing help on auto completing (on pressin tab) for executables like "ls -"
Diffstat (limited to 'wildcard.cpp')
-rw-r--r--wildcard.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/wildcard.cpp b/wildcard.cpp
index 3435037b..69841895 100644
--- a/wildcard.cpp
+++ b/wildcard.cpp
@@ -810,7 +810,7 @@ static int wildcard_expand_internal( const wchar_t *wc,
return -1;
}
- if( !wc || !base_dir || out.empty())
+ if( !wc || !base_dir )
{
debug( 2, L"Got null string on line %d of file %s", __LINE__, __FILE__ );
return 0;