]> git.sesse.net Git - vlc/commitdiff
skins2: remove unneeded check
authorErwan Tulou <erwan10@videolan.org>
Fri, 5 Apr 2013 11:39:33 +0000 (13:39 +0200)
committerErwan Tulou <erwan10@videolan.org>
Fri, 5 Apr 2013 17:14:33 +0000 (19:14 +0200)
modules/gui/skins2/parser/builder.cpp

index e5b54a08393e233417b7bedf4621367c996529ff..15e549090c8f26d76a33774f8e4e39a7a82bcdb0 100644 (file)
@@ -863,10 +863,7 @@ void Builder::addSlider( const BuilderData::Slider &rData )
 
     // Get the bitmaps of the background
     GenericBitmap *pBgImage = NULL;
-    if( rData.m_imageId != "none" )
-    {
-        GET_BMP( pBgImage, rData.m_imageId );
-    }
+    GET_BMP( pBgImage, rData.m_imageId );
 
     GenericLayout *pLayout = m_pTheme->getLayoutById( rData.m_layoutId );
     if( pLayout == NULL )