Replaced some usage of wchar_t * with wcstring in complete(). Some style fixes.

This commit is contained in:
ridiculousfish
2012-11-23 11:12:22 -08:00
parent be80e1a863
commit 4837a2d0df
5 changed files with 64 additions and 73 deletions

View File

@@ -1187,7 +1187,7 @@ struct autosuggestion_context_t
if (! cursor_at_end && iswspace(last_char))
return 0;
// On the other hand, if the line ends with a quote, don't go dumping stuff after the quote
/* On the other hand, if the line ends with a quote, don't go dumping stuff after the quote */
if (wcschr(L"'\"", last_char) && cursor_at_end)
return 0;