]> git.sesse.net Git - vlc/commitdiff
Skins2: Add missing return statements.
authorJP Dinger <jpd@videolan.org>
Wed, 9 Dec 2009 12:50:07 +0000 (13:50 +0100)
committerJP Dinger <jpd@videolan.org>
Wed, 9 Dec 2009 12:51:54 +0000 (13:51 +0100)
Spotted by Dominique Leuenberger. Thanks.

modules/gui/skins2/src/theme.cpp

index 97e38ea48b6d3c4ca1db5302f93ae5ee027b1808..7eec553609854b214c30742c51c0563e8cd317bb 100644 (file)
@@ -189,11 +189,11 @@ Theme::IDmap<T>::find_first_object( const string &id ) const
 
 GenericBitmap *Theme::getBitmapById( const string &id ) const
 {
 
 GenericBitmap *Theme::getBitmapById( const string &id ) const
 {
-    m_bitmaps.find_first_object( id );
+    return m_bitmaps.find_first_object( id );
 }
 
 GenericFont *Theme::getFontById( const string &id ) const
 {
 }
 
 GenericFont *Theme::getFontById( const string &id ) const
 {
-    m_fonts.find_first_object( id );
+    return m_fonts.find_first_object( id );
 }
 
 }