Fix comment grammar

Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
This commit is contained in:
Stanislau T 2020-09-11 19:51:57 +03:00 committed by GitHub
parent 88651c334f
commit 17d83d6a7c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -862,7 +862,7 @@ int8_t quarter_next(quarter_state* s, int32_t* ret_x, int32_t* ret_y) {
if (s->cx == s->ex && s->cy == s->ey) { if (s->cx == s->ex && s->cy == s->ey) {
s->finished = 1; s->finished = 1;
} else { } else {
// bresenham's algorithm, possible optimization: only consider 2 of 3 // Bresenham's algorithm, possible optimization: only consider 2 of 3
// next points depending on current slope // next points depending on current slope
int32_t nx = s->cx; int32_t nx = s->cx;
int32_t ny = s->cy + 2; int32_t ny = s->cy + 2;