Skip to content

Commit 77e2bbc

Browse files
committed
Make imageCount local
1 parent 953e9a0 commit 77e2bbc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SlideshowSettings.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ function update_image_list(dir)
256256
local output = assert(io.open(script_path() .. 'images/images.js', "w"))
257257
local files = assert(io.popen('dir "'..dir..'" /b'))
258258
output:write('let imageNamesStr=`\n')
259-
imageCount = 0
259+
local imageCount = 0
260260

261261
for line in files:lines() do
262262
output:write(line .. "\n")

0 commit comments

Comments
 (0)