[vlc-devel] commit: osd: fix return value. ( Rémi Duraffort )
git version control
git at videolan.org
Mon Dec 28 14:44:29 CET 2009
vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Sun Dec 20 10:59:27 2009 +0100| [2d4bad07085303da4c1cd15972e9e362cfa8e704] | committer: Rémi Duraffort
osd: fix return value.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=2d4bad07085303da4c1cd15972e9e362cfa8e704
---
src/osd/osd.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/osd/osd.c b/src/osd/osd.c
index 29e90cc..4240ce3 100644
--- a/src/osd/osd.c
+++ b/src/osd/osd.c
@@ -73,7 +73,7 @@ static bool osd_ParserLoad( osd_menu_t *p_menu, const char *psz_file )
if( !p_menu->p_image || !p_menu->psz_file )
{
msg_Err( p_menu, "unable to load images, aborting .." );
- return true;
+ return false;
}
else
{
@@ -109,8 +109,8 @@ static void osd_ParserUnload( osd_menu_t *p_menu )
/**
* Change state on an osd_button_t.
*
- * This function selects the specified state and returns a pointer vlc_custom_createto it. The
- * following states are currently supported:
+ * This function selects the specified state and returns a pointer
+ * vlc_custom_create to it. The following states are currently supported:
* \see OSD_BUTTON_UNSELECT
* \see OSD_BUTTON_SELECT
* \see OSD_BUTTON_PRESSED
@@ -121,7 +121,7 @@ static osd_state_t *osd_StateChange( osd_button_t *p_button, const int i_state )
osd_state_t *p_temp = NULL;
int i = 0;
- for( i=0; p_current != NULL; i++ )
+ for( i= 0; p_current != NULL; i++ )
{
if( p_current->i_state == i_state )
{
More information about the vlc-devel
mailing list