Skip to content

Commit 0043769

Browse files
authored
Merge pull request #579 from tabac/rename-images-sequence-tooltip
Align sequence tooltip with code.
2 parents 8c2d0dd + 0cb9a88 commit 0043769

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/dtutils/string.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -994,7 +994,7 @@ local function treat(var_string)
994994
log.msg(log.info, "ret_val is " .. ret_val)
995995

996996
elseif string.match(var_string, "SEQUENCE%[") then
997-
local start, width = string.match(var_string, "(%d+),(%d)")
997+
local width, start = string.match(var_string, "(%d+),(%d)")
998998
local seq_val = tonumber(substitutes[var])
999999
local pat = "%0" .. width .. "d"
10001000
substitutes[var_string] = string.format(pat, start + (seq_val - 1))

0 commit comments

Comments
 (0)