From 8dd9b91bb2751abccc02b53cefd0ab8f0e3b957d Mon Sep 17 00:00:00 2001 From: Brenden Matthews Date: Thu, 14 Oct 2010 16:51:53 -0700 Subject: [PATCH] Build fix for XMMS2. This resolves bug 3085691, see: https://sourceforge.net/tracker/index.php?func=detail&aid=3085691&group_id=143975&atid=757308 --- src/xmms2.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/xmms2.c b/src/xmms2.c index 521bffa..94f13f9 100644 --- a/src/xmms2.c +++ b/src/xmms2.c @@ -223,7 +223,7 @@ int handle_playback_state_change(xmmsv_t *value, void *p) break; case XMMS_PLAYBACK_STATUS_STOP: strncpy(ptr->xmms2.status, "Stopped", text_buffer_size - 1); - ptr->xmms2.elapsed = ptr->xmms2.progress = ptr->xmms2.percent = 0; + ptr->xmms2.elapsed = ptr->xmms2.progress = 0; break; default: strncpy(ptr->xmms2.status, "Unknown", text_buffer_size - 1); @@ -232,7 +232,7 @@ int handle_playback_state_change(xmmsv_t *value, void *p) return TRUE; } -int handle_playlist_loaded(xmmsv_t *value, void *p) +int handle_playlist_loaded(xmmsv_t *value, void *p) { struct information *ptr = p; const char *c, *errbuf; -- 1.7.0.4