[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 5/4] splitfx: fix track_zpad with integer arg
From: |
Eric Wong |
Subject: |
[PATCH 5/4] splitfx: fix track_zpad with integer arg |
Date: |
Fri, 7 Jan 2022 09:34:39 +0000 |
This is a rarely-needed corner-case, but I just needed to use
this feature.
---
lib/dtas/splitfx.rb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/dtas/splitfx.rb b/lib/dtas/splitfx.rb
index 9e1cfd0..8454d6a 100644
--- a/lib/dtas/splitfx.rb
+++ b/lib/dtas/splitfx.rb
@@ -113,7 +113,7 @@ def import(hash, overrides = {})
end
case v = hash["track_zpad"]
- when Integer then @track_zpad = val
+ when Integer then @track_zpad = v
else
_bool(hash, "track_zpad") { |val| @track_zpad = val }
end
[PATCH 4/4] dtas-console: add 'i' toggle to show comments (metadata), Eric Wong, 2022/01/07
[PATCH 5/4] splitfx: fix track_zpad with integer arg,
Eric Wong <=
[PATCH 6/4] doc: drop ordered map from examples, Eric Wong, 2022/01/07