From 94d7a714bc7185a05f69a690bbd8cd68815b0ac2 Mon Sep 17 00:00:00 2001 From: Francois Marier Date: Tue, 10 May 2022 07:10:03 -0700 Subject: [PATCH] Fix typo in nfc_device ("depricated") #1212 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: あく --- applications/nfc/nfc_device.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/applications/nfc/nfc_device.c b/applications/nfc/nfc_device.c index 14fdb67b7..9970cbfed 100644 --- a/applications/nfc/nfc_device.c +++ b/applications/nfc/nfc_device.c @@ -764,7 +764,7 @@ static bool nfc_device_load_data(NfcDevice* dev, string_t path) { uint32_t data_cnt = 0; string_t temp_str; string_init(temp_str); - bool depricated_version = false; + bool deprecated_version = false; do { // Check existance of shadow file @@ -783,7 +783,7 @@ static bool nfc_device_load_data(NfcDevice* dev, string_t path) { uint32_t version = 0; if(!flipper_format_read_header(file, temp_str, &version)) break; if(string_cmp_str(temp_str, nfc_file_header) || (version != nfc_file_version)) { - depricated_version = true; + deprecated_version = true; break; } // Read Nfc device type @@ -810,8 +810,8 @@ static bool nfc_device_load_data(NfcDevice* dev, string_t path) { } while(false); if(!parsed) { - if(depricated_version) { - dialog_message_show_storage_error(dev->dialogs, "File format depricated"); + if(deprecated_version) { + dialog_message_show_storage_error(dev->dialogs, "File format deprecated"); } else { dialog_message_show_storage_error(dev->dialogs, "Can not parse\nfile"); }