aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/highlight.h
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2016-02-04 12:45:09 -0800
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2016-02-04 12:46:52 -0800
commitdae0f63e5ba0a1c05f2a9b70b5e0f86bb532a4f5 (patch)
tree25d3f0901ffd894cda4da89b562a074d226f25d3 /src/highlight.h
parent0779c89a65cdcce7cf76bf97764b86b2c16fb880 (diff)
Prefer special autosuggestions to match case
Fixes #2672
Diffstat (limited to 'src/highlight.h')
-rw-r--r--src/highlight.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/highlight.h b/src/highlight.h
index e0cd612e..03e192a2 100644
--- a/src/highlight.h
+++ b/src/highlight.h
@@ -115,7 +115,7 @@ bool autosuggest_validate_from_history(const history_item_t &item, file_detectio
/** Given the command line contents 'str', return via reference a suggestion by specially recognizing the command. The suggestion is escaped. Returns true if we recognized the command (even if we couldn't think of a suggestion for it).
*/
-bool autosuggest_suggest_special(const wcstring &str, const wcstring &working_directory, wcstring &outString);
+bool autosuggest_suggest_special(const wcstring &str, const wcstring &working_directory, wcstring *out_suggestion);
/* Tests whether the specified string cpath is the prefix of anything we could cd to. directories is a list of possible parent directories (typically either the working directory, or the cdpath). This does I/O!