]> git.sesse.net Git - vlc/commitdiff
Mark 2 options as volatile and avoid some "" in translatable strings
authorChristophe Mutricy <xtophe@videolan.org>
Fri, 9 Apr 2010 22:21:07 +0000 (23:21 +0100)
committerChristophe Mutricy <xtophe@videolan.org>
Sun, 11 Apr 2010 22:07:43 +0000 (23:07 +0100)
modules/misc/lua/vlc.c

index b5ee416347e9db6e9a286e7aea6b2240c5421b40..5b9b29ece849dcd0ef84456a2ff011fe74af55cb 100644 (file)
@@ -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 ()