Renamed playlist "playlist-current" to "item-current".
[vlc.git] / src / playlist / engine.c
index cd363ec..cf4d3f0 100644 (file)
@@ -278,8 +278,8 @@ static void VariablesInit( playlist_t *p_playlist )
 
     var_Create( p_playlist, "item-append", VLC_VAR_ADDRESS );
 
-    var_Create( p_playlist, "playlist-current", VLC_VAR_INTEGER );
-    var_SetInteger( p_playlist, "playlist-current", -1 );
+    var_Create( p_playlist, "item-current", VLC_VAR_INTEGER );
+    var_SetInteger( p_playlist, "item-current", -1 );
 
     var_Create( p_playlist, "activity", VLC_VAR_INTEGER );
     var_SetInteger( p_playlist, "activity", 0 );