[vlc-devel] commit: Skins2: Add missing return statements. (JP Dinger )

git version control git at videolan.org
Wed Dec 9 13:52:44 CET 2009


vlc | branch: master | JP Dinger <jpd at videolan.org> | Wed Dec  9 13:50:07 2009 +0100| [cb5c7571e68f502d55a0ff11e0d965e148db12a7] | committer: JP Dinger 

Skins2: Add missing return statements.
Spotted by Dominique Leuenberger. Thanks.

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

 modules/gui/skins2/src/theme.cpp |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/gui/skins2/src/theme.cpp b/modules/gui/skins2/src/theme.cpp
index 97e38ea..7eec553 100644
--- a/modules/gui/skins2/src/theme.cpp
+++ b/modules/gui/skins2/src/theme.cpp
@@ -189,11 +189,11 @@ Theme::IDmap<T>::find_first_object( 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
 {
-    m_fonts.find_first_object( id );
+    return m_fonts.find_first_object( id );
 }
 




More information about the vlc-devel mailing list