diff options
author | ridiculousfish <corydoras@ridiculousfish.com> | 2016-02-06 14:58:51 -0800 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2016-02-18 17:00:26 -0800 |
commit | 5dbf40ca750a1413c5000c6921bff04e17ccd55a (patch) | |
tree | 7c0f2c0546ee3c2c648a7881c98f23f90171dbca /src/reader.cpp | |
parent | 2d68b250253eb07f8f796a6fe5f421efc90b70e1 (diff) |
Switch autosuggest_suggest_special to returning a completion_t
Diffstat (limited to 'src/reader.cpp')
-rw-r--r-- | src/reader.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/reader.cpp b/src/reader.cpp index a1027c39..d6eea53a 100644 --- a/src/reader.cpp +++ b/src/reader.cpp @@ -1482,10 +1482,10 @@ struct autosuggestion_context_t return 0; /* Try handling a special command like cd */ - wcstring special_suggestion; + completion_t special_suggestion(L""); if (autosuggest_suggest_special(search_string, working_directory, &special_suggestion)) { - this->autosuggestion = special_suggestion; + this->autosuggestion = special_suggestion.completion; return 1; } |