]> git.sesse.net Git - vlc/commitdiff
* src/misc/modules.c: if module_Need() was passed an interface module name, respect...
authorGildas Bazin <gbazin@videolan.org>
Thu, 24 Jul 2003 22:58:21 +0000 (22:58 +0000)
committerGildas Bazin <gbazin@videolan.org>
Thu, 24 Jul 2003 22:58:21 +0000 (22:58 +0000)
src/misc/modules.c

index fb35e8e46af2ffe5a5224a04b409940a5a4246df..f24c3e8017bd0b22b30569f6e6b98a5c3cadc700 100644 (file)
@@ -2,7 +2,7 @@
  * modules.c : Builtin and plugin modules management functions
  *****************************************************************************
  * Copyright (C) 2001 VideoLAN
- * $Id: modules.c,v 1.125 2003/07/14 21:32:59 sigmunau Exp $
+ * $Id: modules.c,v 1.126 2003/07/24 22:58:21 gbazin Exp $
  *
  * Authors: Samuel Hocevar <sam@zoy.org>
  *          Ethan C. Baldridge <BaldridgeE@cadmus.com>
@@ -400,7 +400,7 @@ module_t * __module_Need( vlc_object_t *p_this, const char *psz_capability,
         }
 
         /* Special case: test if we requested a particular intf plugin */
-        if( p_module->psz_program
+        if( !i_shortcuts && p_module->psz_program
              && !strcmp( p_module->psz_program,
                          p_this->p_vlc->psz_object_name ) )
         {