revid: fixed assignment of MTSRBSize

This commit is contained in:
Saxon 2019-08-09 15:34:29 +09:30
parent 61274a18d5
commit 67e50295c9
1 changed files with 1 additions and 1 deletions

View File

@ -525,7 +525,7 @@ func (r *Revid) Update(vars map[string]string) error {
r.config.Logger.Log(logger.Warning, pkg+"invalid MTSRBSize var", "value", value) r.config.Logger.Log(logger.Warning, pkg+"invalid MTSRBSize var", "value", value)
break break
} }
r.config.MTSRBElementSize = v r.config.MTSRBSize = v
case "MTSRBElementSize": case "MTSRBElementSize":
v, err := strconv.Atoi(value) v, err := strconv.Atoi(value)
if err != nil || v < 0 { if err != nil || v < 0 {