Skip to content

Commit 6bfabc0

Browse files
author
Jérémy Rosen
committed
image_path_in_ui : remove stray \n
1 parent 21e624b commit 6bfabc0

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

official/image_path_in_ui.lua

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,11 @@ local function reset_widget()
4141
array[img.path] = true
4242
end
4343
for path in pairs(array) do
44-
result = result.."\n"..path
44+
if result == "" then
45+
result = path
46+
else
47+
result = result.."\n"..path
48+
end
4549
end
4650
main_label.label = result
4751
end

0 commit comments

Comments
 (0)