[PATCH 1/2] web intf: Remove trailing spaces
Marco de Abreu
marco.g.abreu at googlemail.com
Fri Apr 28 18:26:35 CEST 2017
---
share/lua/modules/common.lua | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/share/lua/modules/common.lua b/share/lua/modules/common.lua
index 8c49c71..e3d3901 100644
--- a/share/lua/modules/common.lua
+++ b/share/lua/modules/common.lua
@@ -47,7 +47,7 @@ function table_copy(t)
end
-- tonumber() for decimals number, using a dot as decimal separator
--- regardless of the system locale
+-- regardless of the system locale
function us_tonumber(str)
local s, i, d = string.match(str, "^([+-]?)(%d*)%.?(%d*)$")
if not s or not i or not d then
@@ -69,7 +69,7 @@ function us_tonumber(str)
end
-- tostring() for decimals number, using a dot as decimal separator
--- regardless of the system locale
+-- regardless of the system locale
function us_tostring(n)
s = tostring(n):gsub(",", ".", 1)
return s
@@ -100,7 +100,7 @@ end
function print_callbacks()
print "callbacks:"
table_print(vlc.callbacks)
-end
+end
-- convert a duration (in seconds) to a string
function durationtostring(duration)
@@ -174,4 +174,4 @@ function volume(value)
else
vlc.volume.set(tostring(value))
end
-end
+end
\ No newline at end of file
--
1.9.1
More information about the vlc-devel
mailing list