[vlc-commits] skins2: fix autoresize initial value

Erwan Tulou git at videolan.org
Fri Jul 19 12:53:25 CEST 2013


vlc/vlc-2.1 | branch: master | Erwan Tulou <erwan10 at videolan.org> | Tue Jul 16 15:53:01 2013 +0200| [ace37195212aca7147c87a06fa88c6f2e8d082ed] | committer: Jean-Baptiste Kempf

skins2: fix autoresize initial value

Default values should match with skins.dtd

(cherry picked from commit fe88885174d381555427894de6cc230f750e7af3)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

 modules/gui/skins2/parser/skin_parser.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/gui/skins2/parser/skin_parser.cpp b/modules/gui/skins2/parser/skin_parser.cpp
index f4e7ce7..89711b6 100644
--- a/modules/gui/skins2/parser/skin_parser.cpp
+++ b/modules/gui/skins2/parser/skin_parser.cpp
@@ -705,7 +705,7 @@ void SkinParser::handleBeginElement( const string &rName, AttrList_t &attr )
         DefaultAttr( attr, "rightbottom", "lefttop" );
         DefaultAttr( attr, "xkeepratio", "false" );
         DefaultAttr( attr, "ykeepratio", "false" );
-        DefaultAttr( attr, "autoresize", "false" );
+        DefaultAttr( attr, "autoresize", "true" );
         DefaultAttr( attr, "help", "" );
 
         int refWidth, refHeight;



More information about the vlc-commits mailing list