spelling: offset

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
Josh Soref 2025-01-28 15:18:22 -05:00
parent 6fcb2ed60e
commit b7b8abcff7
5 changed files with 6 additions and 6 deletions

View file

@ -179,7 +179,7 @@ static void prv_window_load(Window *window) {
// one image at the top left .topleft_layer,
// and two menu layers .action_list1 and .action_list2 that overlay each other
// some hackery with the two menu layers goes on to keep their scroll offest in sync
// some hackery with the two menu layers goes on to keep their scroll offset in sync
// and to have the inverter layer rendered only once
const int16_t navbar_width = s_fps_topleft_bitmap.bounds.size.w;

View file

@ -183,7 +183,7 @@ static void prv_window_load(Window *window) {
// one image at the top left .topleft_layer,
// and two menu layers .action_list1 and .action_list2 that overlay each other
// some hackery with the two menu layers goes on to keep their scroll offest in sync
// some hackery with the two menu layers goes on to keep their scroll offset in sync
// and to have the inverter layer rendered only once
const int16_t navbar_width = s_fps_topleft_bitmap.bounds.size.w;

View file

@ -274,7 +274,7 @@ static void prv_draw_steps_and_shoe(GContext *ctx, const char *steps_buffer, GFo
icon_bounds.origin.x += 23; // icon left offset
icon_bounds.origin.y += 9; // icon top offset
#elif ROBERT_SCREEN_RES
icon_bounds.origin.y += (46 - icon_bounds.size.h); // icon top offest
icon_bounds.origin.y += (46 - icon_bounds.size.h); // icon top offset
#elif SNOWY_SCREEN_RES
icon_bounds.origin.x = screen_is_obstructed ? bounds.origin.x // icon_left offset
: (bounds.size.w / 2) - (icon_bounds.size.w / 2);

View file

@ -91,7 +91,7 @@ typedef struct {
typedef struct {
ClockFace face;
char buffer[4];
int32_t utc_offest;
int32_t utc_offset;
GColor text_color;
} NonLocalClockFace;

View file

@ -169,13 +169,13 @@ void test_bitblt_palette_1bit__2bit_palette_to_1bit_wrap(void) {
// The top right half will be alternating between dithered gray and black lines
// The bottom right half consists of a diagonal white line on a black background
// The left half will be completely white
void test_bitblt_palette_1bit__2bit_palette_to_1bit_offest(void) {
void test_bitblt_palette_1bit__2bit_palette_to_1bit_offset(void) {
GBitmap *src_bitmap =
get_gbitmap_from_pbi("test_bitblt_palette_1bit__2bit_palette_to_1bit.pbi");
bitblt_bitmap_into_bitmap(&s_dest_bitmap, src_bitmap, GPoint(20,20), GCompOpAssign, GColorWhite);
cl_assert(gbitmap_pbi_eq(&s_dest_bitmap,
"test_bitblt_palette_1bit__2bit_palette_to_1bit_offest-expect.pbi"));
"test_bitblt_palette_1bit__2bit_palette_to_1bit_offset-expect.pbi"));
gbitmap_destroy(src_bitmap);
}