]> git.sesse.net Git - vlc/commitdiff
telepathy: get back the previous behavior.
authorRémi Duraffort <ivoire@videolan.org>
Tue, 17 Mar 2009 21:33:08 +0000 (22:33 +0100)
committerRémi Duraffort <ivoire@videolan.org>
Tue, 17 Mar 2009 21:33:08 +0000 (22:33 +0100)
modules/misc/notify/telepathy.c

index d3e407c46939d7046b0febc2475b5e940a16d40a..7b55a8a49ca5015f19179c3c394eb190c8f446c6 100644 (file)
@@ -173,7 +173,7 @@ static int ItemChange( vlc_object_t *p_this, const char *psz_var,
     playlist_t* p_playlist = (playlist_t*) p_this;
     char *psz_buf = NULL;
     input_thread_t *p_input;
-    bool b_is_item_current = !strncmp( "item-current", psz_var, 12 );
+    bool b_is_item_current = !strcmp( "item-current", psz_var );
 
     /* Don't update Telepathy presence each time an item has been preparsed */
     if( b_is_item_current )