[vlc-devel] commit: telepathy: get back the previous behavior. ( Rémi Duraffort )

git version control git at videolan.org
Tue Mar 17 22:34:04 CET 2009


vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Tue Mar 17 22:33:08 2009 +0100| [cc8c4755d9d3abe20b861ad19506fc1eee107603] | committer: Rémi Duraffort 

telepathy: get back the previous behavior.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=cc8c4755d9d3abe20b861ad19506fc1eee107603
---

 modules/misc/notify/telepathy.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/misc/notify/telepathy.c b/modules/misc/notify/telepathy.c
index d3e407c..7b55a8a 100644
--- a/modules/misc/notify/telepathy.c
+++ b/modules/misc/notify/telepathy.c
@@ -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 )




More information about the vlc-devel mailing list