[vlc-devel] [PATCH 2/5] VLSub: Reindent block to original indentations

Alon Sirota sirotaalon at gmail.com
Sun Sep 6 09:39:32 CEST 2020


Current indentation doesn't comply with project's convensions.
---
 share/lua/extensions/VLSub.lua | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/share/lua/extensions/VLSub.lua b/share/lua/extensions/VLSub.lua
index 9ebc26f..4444ece 100644
--- a/share/lua/extensions/VLSub.lua
+++ b/share/lua/extensions/VLSub.lua
@@ -1429,15 +1429,15 @@ function display_subtitles()
     lang["mess_no_res"])
 end
 
-  function get_all_sel(list)
+function get_all_sel(list)
   local selection = list:get_selection()
-    local indexes = {}
-    local i = 1 -- key counter
+  local indexes = {}
+  local i = 1 -- key counter
   for index, name in pairs(selection) do
-      indexes[i] = index
-      i = i + 1
+    indexes[i] = index
+    i = i + 1
   end
-    return indexes
+  return indexes
 end
 
 function find_subtitle_in_archive(archivePath, subfileExt)
-- 
2.28.0



More information about the vlc-devel mailing list