From 0923071b955ab0ca788c905e37a3fcf8ef5b3ada Mon Sep 17 00:00:00 2001 From: Willy-JL <49810075+Willy-JL@users.noreply.github.com> Date: Tue, 5 Nov 2024 23:23:15 +0000 Subject: [PATCH] IR: Fix openned typo in error message --- applications/main/infrared/infrared_app.c | 2 +- applications/main/infrared/scenes/infrared_scene_remote_list.c | 2 +- .../main/infrared/scenes/infrared_scene_universal_from_file.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/applications/main/infrared/infrared_app.c b/applications/main/infrared/infrared_app.c index 674f0cc679..e42446a42a 100644 --- a/applications/main/infrared/infrared_app.c +++ b/applications/main/infrared/infrared_app.c @@ -566,7 +566,7 @@ int32_t infrared_app(void* p) { is_remote_loaded = false; bool wrong_file_type = INFRARED_ERROR_CHECK(error, InfraredErrorCodeWrongFileType); const char* format = wrong_file_type ? - "Library file\n\"%s\" can't be openned as a remote" : + "Library file\n\"%s\" can't be opened as a remote" : "Failed to load\n\"%s\""; infrared_show_error_message(infrared, format, file_path); diff --git a/applications/main/infrared/scenes/infrared_scene_remote_list.c b/applications/main/infrared/scenes/infrared_scene_remote_list.c index 93665769cf..c7593cc5e6 100644 --- a/applications/main/infrared/scenes/infrared_scene_remote_list.c +++ b/applications/main/infrared/scenes/infrared_scene_remote_list.c @@ -46,7 +46,7 @@ bool infrared_scene_remote_list_on_event(void* context, SceneManagerEvent event) bool wrong_file_type = INFRARED_ERROR_CHECK(task_error, InfraredErrorCodeWrongFileType); const char* format = wrong_file_type ? - "Library file\n\"%s\" can't be openned as a remote" : + "Library file\n\"%s\" can't be opened as a remote" : "Failed to load\n\"%s\""; infrared_show_error_message( diff --git a/applications/main/infrared/scenes/infrared_scene_universal_from_file.c b/applications/main/infrared/scenes/infrared_scene_universal_from_file.c index d6a7190414..10a1e11d6c 100644 --- a/applications/main/infrared/scenes/infrared_scene_universal_from_file.c +++ b/applications/main/infrared/scenes/infrared_scene_universal_from_file.c @@ -93,7 +93,7 @@ bool infrared_scene_universal_from_file_on_event(void* context, SceneManagerEven bool wrong_file_type = INFRARED_ERROR_CHECK(task_error, InfraredErrorCodeWrongFileType); const char* format = wrong_file_type ? - "Remote file\n\"%s\" can't be openned as a library" : + "Remote file\n\"%s\" can't be opened as a library" : "Failed to load\n\"%s\""; infrared_show_error_message(