From 5dbf40ca750a1413c5000c6921bff04e17ccd55a Mon Sep 17 00:00:00 2001 From: ridiculousfish Date: Sat, 6 Feb 2016 14:58:51 -0800 Subject: Switch autosuggest_suggest_special to returning a completion_t --- src/reader.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/reader.cpp') 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; } -- cgit v1.2.3