impr: Remove spaces from fill command input
This commit is contained in:
parent
bdee628360
commit
d43f25ec70
@ -528,10 +528,12 @@ namespace hex::plugin::builtin {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private:
|
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())
|
if (!ImHexApi::Provider::isValid())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
std::erase(input, ' ');
|
||||||
|
|
||||||
auto bytes = crypt::decode16(input);
|
auto bytes = crypt::decode16(input);
|
||||||
if (bytes.empty())
|
if (bytes.empty())
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user