From 6bfabc04453d7cb7ae27711ccb291e9dddde65ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Rosen?= Date: Wed, 10 Jun 2015 14:42:55 +0200 Subject: [PATCH] image_path_in_ui : remove stray \n --- official/image_path_in_ui.lua | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/official/image_path_in_ui.lua b/official/image_path_in_ui.lua index 0403b16..7026bfb 100644 --- a/official/image_path_in_ui.lua +++ b/official/image_path_in_ui.lua @@ -41,7 +41,11 @@ local function reset_widget() array[img.path] = true end for path in pairs(array) do - result = result.."\n"..path + if result == "" then + result = path + else + result = result.."\n"..path + end end main_label.label = result end