summaryrefslogtreecommitdiff
path: root/app-admin/conky-full/files/conky-1.8.1-xmms2.patch
blob: a1b03d454b3a4f27cc4fff1fb4957be80467c594 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
From 8dd9b91bb2751abccc02b53cefd0ab8f0e3b957d Mon Sep 17 00:00:00 2001
From: Brenden Matthews <brenden@diddyinc.com>
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