mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-28 07:47:03 -05:00
impr: Remove spaces from fill command input
This commit is contained in:
@@ -528,10 +528,12 @@ namespace hex::plugin::builtin {
|
||||
}
|
||||
|
||||
private:
|
||||
static void fill(u64 address, size_t size, const std::string &input) {
|
||||
static void fill(u64 address, size_t size, std::string input) {
|
||||
if (!ImHexApi::Provider::isValid())
|
||||
return;
|
||||
|
||||
std::erase(input, ' ');
|
||||
|
||||
auto bytes = crypt::decode16(input);
|
||||
if (bytes.empty())
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user