Skip to content

Commit

Permalink
Fix formatting.
Browse files Browse the repository at this point in the history
  • Loading branch information
ggreer committed Jan 10, 2020
1 parent de3e3c7 commit a509a81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ignore.c
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ static int path_ignore_search(const ignores *ig, const char *path, const char *f
//of temp as well
temp_start_pos = (temp[0] == '/') ? 1 : 0;

if (strncmp(temp+temp_start_pos, ig->abs_path, ig->abs_path_len) == 0) {
if (strncmp(temp + temp_start_pos, ig->abs_path, ig->abs_path_len) == 0) {
char *slash_filename = temp + temp_start_pos + ig->abs_path_len;
if (slash_filename[0] == '/') {
slash_filename++;
Expand Down

0 comments on commit a509a81

Please sign in to comment.