From: Pierre d'Herbemont Date: Sun, 6 Jul 2008 16:30:29 +0000 (+0200) Subject: messages: Use psz_object_type. X-Git-Tag: 0.9.0-test2~171 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=d59cd4abe53042b8611d1ec345e539144b59ce47;p=vlc messages: Use psz_object_type. --- diff --git a/src/misc/messages.c b/src/misc/messages.c index 78bf39e0b8..f00a1de1ed 100644 --- a/src/misc/messages.c +++ b/src/misc/messages.c @@ -80,9 +80,6 @@ static void PrintMsg ( vlc_object_t *, msg_item_t * ); static inline char * object_description( vlc_object_t * p_this ) { - if( p_this->i_object_type == VLC_OBJECT_GENERIC - && p_this->psz_object_name ) - return strdup( p_this->psz_object_name ); return strdup( p_this->psz_object_type ); }