Merge pull request #579 from tabac/rename-images-sequence-tooltip

Align sequence tooltip with code.
This commit is contained in:
wpferguson
2025-04-10 20:40:31 -04:00
committed by GitHub

View File

@@ -994,7 +994,7 @@ local function treat(var_string)
log.msg(log.info, "ret_val is " .. ret_val)
elseif string.match(var_string, "SEQUENCE%[") then
local start, width = string.match(var_string, "(%d+),(%d)")
local width, start = string.match(var_string, "(%d+),(%d)")
local seq_val = tonumber(substitutes[var])
local pat = "%0" .. width .. "d"
substitutes[var_string] = string.format(pat, start + (seq_val - 1))