mirror of https://github.com/google/pebble
spelling: issues
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
parent
57fd1766c0
commit
2437efdba9
|
@ -215,7 +215,7 @@ void graphics_draw_rotated_bitmap(GContext* ctx, GBitmap *src, GPoint src_ic, in
|
|||
const int32_t width = 2 * (max_width + 1); // Add one more pixel in case on the edge
|
||||
const int32_t height = 2 * (max_height + 1); // Add one more pixel in case on the edge
|
||||
|
||||
// add two pixels just in case of rounding isssues
|
||||
// add two pixels just in case of rounding issues
|
||||
const int32_t max_distance = integer_sqrt((width * width) + (height * height)) + 2;
|
||||
const int32_t min_x = src_ic.x - max_distance;
|
||||
const int32_t min_y = src_ic.y - max_distance;
|
||||
|
|
Loading…
Reference in New Issue