IR: Fix openned typo in error message

This commit is contained in:
Willy-JL
2024-11-05 23:23:15 +00:00
parent 3ef283824d
commit 0923071b95
3 changed files with 3 additions and 3 deletions

View File

@@ -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);

View File

@@ -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(

View File

@@ -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(