[vlc-commits] commit: Mark 2 options as volatile and avoid some "" in translatable strings (Christophe Mutricy )

git at videolan.org git at videolan.org
Mon Apr 12 00:58:14 CEST 2010


vlc | branch: master | Christophe Mutricy <xtophe at videolan.org> | Fri Apr  9 23:21:07 2010 +0100| [82a40b0249c9a05e5998edeca217fbcc1bfc7e2d] | committer: Christophe Mutricy 

Mark 2 options as volatile and avoid some "" in translatable strings

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=82a40b0249c9a05e5998edeca217fbcc1bfc7e2d
---

 modules/misc/lua/vlc.c |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/modules/misc/lua/vlc.c b/modules/misc/lua/vlc.c
index b5ee416..5b9b29e 100644
--- a/modules/misc/lua/vlc.c
+++ b/modules/misc/lua/vlc.c
@@ -121,8 +121,10 @@ vlc_module_begin ()
         set_description( N_("Lua SD Module") )
         add_shortcut( "luasd" )
         set_capability( "services_discovery", 0 )
-        add_string( "lua-sd", "", NULL, "", "", false )
-        add_string( "lua-longname", "", NULL, "", "", false )
+        add_string( "lua-sd", "", NULL, NULL, NULL, false )
+            change_volatile()
+        add_string( "lua-longname", "", NULL, NULL, NULL, false )
+            change_volatile()
         set_callbacks( Open_LuaSD, Close_LuaSD )
 
     add_submodule ()



More information about the vlc-commits mailing list