Skip to content

Commit

Permalink
Fix indentation in BoyerMoore.h
Browse files Browse the repository at this point in the history
  • Loading branch information
bnoordhuis committed Apr 10, 2012
1 parent 28be6a6 commit 8d333cb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions BoyerMoore.h
Expand Up @@ -18,12 +18,12 @@ static void compute_prefix(const uint8_t* str, size_t size, int result[]) {
while (k > 0 && str[k] != str[q])
k = result[k-1];

if (str[k] == str[q])
k++;
if (str[k] == str[q])
k++;

result[q] = k;
}
result[q] = k;
}
}

static void prepare_badcharacter_heuristic(const uint8_t *str, size_t size, int result[ALPHABET_SIZE]) {
size_t i;
Expand Down

0 comments on commit 8d333cb

Please sign in to comment.