aboutsummaryrefslogtreecommitdiffhomepage
path: root/complete.h
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2014-01-14 14:28:06 -0800
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2014-01-14 14:28:06 -0800
commitc22d94bba6d1a5e1d8f9418fc69bc0af753053d3 (patch)
tree996062dcc13ac108d9c15f94b176d22f1db5cbee /complete.h
parent28c7094f5bef662442de4c9168d2d464ff503e61 (diff)
Fix for extra space when tab completing directories. Fixes #1241
Diffstat (limited to 'complete.h')
-rw-r--r--complete.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/complete.h b/complete.h
index fa00c3e5..30a01f72 100644
--- a/complete.h
+++ b/complete.h
@@ -121,10 +121,10 @@ public:
The COMPLETE_NO_CASE can be used to signal that this completion
is case insensitive.
*/
- int flags;
+ complete_flags_t flags;
/* Construction. Note: defining these so that they are not inlined reduces the executable size. */
- completion_t(const wcstring &comp, const wcstring &desc = wcstring(), string_fuzzy_match_t match = string_fuzzy_match_t(fuzzy_match_exact), int flags_val = 0);
+ completion_t(const wcstring &comp, const wcstring &desc = wcstring(), string_fuzzy_match_t match = string_fuzzy_match_t(fuzzy_match_exact), complete_flags_t flags_val = 0);
completion_t(const completion_t &);
completion_t &operator=(const completion_t &);