diff --git a/src/completion.cc b/src/completion.cc index 70a6f1c2..77b5d6b8 100644 --- a/src/completion.cc +++ b/src/completion.cc @@ -30,7 +30,7 @@ Completions shell_complete(const Context& context, CompletionFlags flags, cursor_pos - word_start); else completions.candidates = complete_filename(prefix.substr(word_start, word_end), - context.options()["ignored_files"].get(), + context.options()["ignored_files"].get(), cursor_pos - word_start); return completions; } diff --git a/src/diff.hh b/src/diff.hh index aa7ecd87..6f462406 100644 --- a/src/diff.hh +++ b/src/diff.hh @@ -32,7 +32,7 @@ private: int size; }; -struct Snake{ int x, y, u, v; bool add; }; +struct Snake{ int x, y, u, v; bool add; }; template Snake find_end_snake_of_further_reaching_dpath(Iterator a, int N, Iterator b, int M,