diff --git a/plugins/builtin/romfs/lang/en_US.json b/plugins/builtin/romfs/lang/en_US.json index e432d9a02..f5485e8f2 100644 --- a/plugins/builtin/romfs/lang/en_US.json +++ b/plugins/builtin/romfs/lang/en_US.json @@ -715,7 +715,6 @@ "hex.builtin.view.information.region": "Analyzed region", "hex.builtin.view.information.plain_text": "This data is most likely plain text.", "hex.builtin.view.information.plain_text_percentage": "Plain text percentage", - "hex.builtin.view.patches.name": "Patches", "hex.builtin.view.patches.offset": "Offset", "hex.builtin.view.patches.orig": "Original value", diff --git a/plugins/builtin/source/content/providers/intel_hex_provider.cpp b/plugins/builtin/source/content/providers/intel_hex_provider.cpp index 398ae108a..0204e8dd3 100644 --- a/plugins/builtin/source/content/providers/intel_hex_provider.cpp +++ b/plugins/builtin/source/content/providers/intel_hex_provider.cpp @@ -142,6 +142,9 @@ namespace hex::plugin::builtin { break; } } + + while (std::isspace(string[offset]) && offset < string.length()) + offset++; } } catch (const std::runtime_error &e) { diff --git a/plugins/builtin/source/content/providers/motorola_srec_provider.cpp b/plugins/builtin/source/content/providers/motorola_srec_provider.cpp index bfba4bb03..4a8374fc8 100644 --- a/plugins/builtin/source/content/providers/motorola_srec_provider.cpp +++ b/plugins/builtin/source/content/providers/motorola_srec_provider.cpp @@ -154,6 +154,9 @@ namespace hex::plugin::builtin { endOfFile = true; break; } + + while (std::isspace(string[offset]) && offset < string.length()) + offset++; } } catch (const std::runtime_error &e) { return { };