Skip to content

Commit

Permalink
IR: Fix openned typo in error message
Browse files Browse the repository at this point in the history
  • Loading branch information
Willy-JL committed Nov 5, 2024
1 parent 3ef2838 commit 0923071
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion applications/main/infrared/infrared_app.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 0923071

Please sign in to comment.