]> git.sesse.net Git - vlc/commitdiff
I meant to use var_CreateGetNonEmptyString().
authorJean-Paul Saman <jpsaman@videolan.org>
Wed, 8 Aug 2007 14:24:29 +0000 (14:24 +0000)
committerJean-Paul Saman <jpsaman@videolan.org>
Wed, 8 Aug 2007 14:24:29 +0000 (14:24 +0000)
modules/control/lirc.c

index c11ace77a73e18567bbb9bd90d5a10f790287e58..b15b6535bd561a85da2a74ea51157436a80409b3 100644 (file)
@@ -89,7 +89,7 @@ static int Open( vlc_object_t *p_this )
 
     p_intf->pf_run = Run;
 
-    p_intf->p_sys->psz_file = var_CreateGetString( p_intf, "lirc-file" );
+    p_intf->p_sys->psz_file = var_CreateGetNonEmptyString( p_intf, "lirc-file" );
 
     i_fd = lirc_init( "vlc", 1 );
     if( i_fd == -1 )