From ad64e05c4a90df353461fbb1da576b55245ced7b Mon Sep 17 00:00:00 2001 From: Andrey Zgarbul Date: Sun, 1 May 2022 08:26:20 +0300 Subject: [PATCH] empty field access --- src/patch/register.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/patch/register.rs b/src/patch/register.rs index 1f2711b2..cd03b4f6 100644 --- a/src/patch/register.rs +++ b/src/patch/register.rs @@ -239,6 +239,9 @@ impl RegisterExt for Register { } // For all other tags, just set the value ftag.modify_from(make_field(fmod)?, VAL_LVL)?; + if let Some("") = fmod.get_str("access")? { + ftag.access = None; + } } Ok(()) }