mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-26 01:46:18 +03:00
Fix comment grammar
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
This commit is contained in:
parent
88651c334f
commit
17d83d6a7c
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user