From 712a60c2557ecd142c9d29835142a23e6f477682 Mon Sep 17 00:00:00 2001 From: Laurent Aimar Date: Mon, 26 Jan 2009 22:45:07 +0100 Subject: [PATCH] Fixed returned value in osd_FindButton. --- src/osd/osd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/osd/osd.c b/src/osd/osd.c index 7e74a971cf..945bf74bf4 100644 --- a/src/osd/osd.c +++ b/src/osd/osd.c @@ -691,7 +691,7 @@ osd_button_t *__osd_ButtonFind( vlc_object_t *p_this, int i_x, int i_y, { vlc_mutex_unlock( lockval.p_address ); msg_Err( p_this, "osd_ButtonFind failed" ); - return; + return NULL; } p_button = p_osd->p_button; -- 2.39.2