]> git.sesse.net Git - vlc/blobdiff - modules/control/globalhotkeys/win32.c
misc: use var_Inherit
[vlc] / modules / control / globalhotkeys / win32.c
index e73bfcbd1030a06dadbcf24b337953645a56db35..e5baeaf2be079dfcb7d86cd6d5c5b5909851325a 100644 (file)
@@ -175,7 +175,7 @@ static void *Thread( void *p_data )
         if( asprintf( &psz_hotkey, "global-%s", p_hotkey->psz_action ) < 0 )
             break;
 
-        i_key = config_GetInt( p_intf, psz_hotkey );
+        i_key = var_InheritInteger( p_intf, psz_hotkey );
 
         free( psz_hotkey );