From e479411f5955326cac30b54786cac201fcf9be13 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Tue, 28 Jan 2025 14:43:34 -0500 Subject: [PATCH] spelling: forward Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- src/apps/complex_animations/src/complex_animations.c | 2 +- src/fw/apps/system_apps/weather/weather_app_layout.c | 2 +- tests/fw/ui/test_kino_player.c | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/apps/complex_animations/src/complex_animations.c b/src/apps/complex_animations/src/complex_animations.c index 5472eb7a..85d67120 100644 --- a/src/apps/complex_animations/src/complex_animations.c +++ b/src/apps/complex_animations/src/complex_animations.c @@ -74,7 +74,7 @@ static Animation *prv_create_custom_animation(void) { static void click_handler(ClickRecognizerRef recognizer, Window *window) { - // If the animation is still running, fast-foward to 300ms from the end + // If the animation is still running, fast-forward to 300ms from the end if (animation_is_scheduled(s_animation)) { uint32_t duration = animation_get_duration(s_animation, true, true); animation_set_elapsed(s_animation, duration - 300); diff --git a/src/fw/apps/system_apps/weather/weather_app_layout.c b/src/fw/apps/system_apps/weather/weather_app_layout.c index 63fb2d74..bec45a2b 100644 --- a/src/fw/apps/system_apps/weather/weather_app_layout.c +++ b/src/fw/apps/system_apps/weather/weather_app_layout.c @@ -87,7 +87,7 @@ static void prv_fill_high_low_temp_buffer(const int high, const int low, char *b /// Shown when only the day's low temperature is known (e.g. "--° / 52°") snprintf(buffer, buffer_size, i18n_get("--° / %i°", i18n_owner), low); } else { - /// A day's high and low temperature, separated by a foward slash (e.g. "68° / 52°") + /// A day's high and low temperature, separated by a forward slash (e.g. "68° / 52°") snprintf(buffer, buffer_size, i18n_get("%i° / %i°", i18n_owner), high, low); } } diff --git a/tests/fw/ui/test_kino_player.c b/tests/fw/ui/test_kino_player.c index d190c27f..b7a91e26 100644 --- a/tests/fw/ui/test_kino_player.c +++ b/tests/fw/ui/test_kino_player.c @@ -115,7 +115,7 @@ void test_kino_player__cleanup(void) { extern void prv_play_animation_update(Animation *animation, const AnimationProgress normalized); -void test_kino_player__finite_animation_finite_reel_foward(void) { +void test_kino_player__finite_animation_finite_reel_forward(void) { // Choose duration and elapsed to have clean division for // ANIMATION_NORMALIZED_MAX * elapsed / duration = whole_number test_reel_data->duration_ms = 300; @@ -127,7 +127,7 @@ void test_kino_player__finite_animation_finite_reel_foward(void) { cl_assert_equal_i(kino_reel_get_elapsed(test_reel), 20); } -void test_kino_player__create_finite_animation_finite_reel_foward(void) { +void test_kino_player__create_finite_animation_finite_reel_forward(void) { // Choose duration and elapsed to have clean division for // ANIMATION_NORMALIZED_MAX * elapsed / duration = whole_number test_reel_data->duration_ms = 300;