[vlc-devel] commit: Fixed globalhotkeys compilation with old xcb version. ( Laurent Aimar )
git version control
git at videolan.org
Thu Oct 8 22:04:16 CEST 2009
vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Wed Oct 7 21:32:27 2009 +0200| [d210da89ff1fdd4a658142f960b39efd6715de2d] | committer: Laurent Aimar
Fixed globalhotkeys compilation with old xcb version.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d210da89ff1fdd4a658142f960b39efd6715de2d
---
modules/control/globalhotkeys/xcb.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/modules/control/globalhotkeys/xcb.c b/modules/control/globalhotkeys/xcb.c
index c4da023..d654c64 100644
--- a/modules/control/globalhotkeys/xcb.c
+++ b/modules/control/globalhotkeys/xcb.c
@@ -185,6 +185,7 @@ static unsigned GetModifier( xcb_connection_t *p_connection, xcb_key_symbols_t *
#ifdef XCB_KEYSYM_OLD_API /* as seen in Debian Lenny */
const xcb_keycode_t key = xcb_key_symbols_get_keycode( p_symbols, sym );
if( key == 0 )
+ return 0;
#else
const xcb_keycode_t *p_keys = xcb_key_symbols_get_keycode( p_symbols, sym );
if( !p_keys )
More information about the vlc-devel
mailing list