projects
/
monky
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3d72ae4
)
oops; don't clear mpd stuff after setting status
author
Brenden Matthews
<brenden1@rty.ca>
Tue, 2 Oct 2007 23:51:49 +0000
(23:51 +0000)
committer
Brenden Matthews
<brenden1@rty.ca>
Tue, 2 Oct 2007 23:51:49 +0000
(23:51 +0000)
git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@968
7f574dfc
-610e-0410-a909-
a81674777703
src/mpd.c
patch
|
blob
|
history
diff --git
a/src/mpd.c
b/src/mpd.c
index
1462c6b
..
4ac578a
100644
(file)
--- a/
src/mpd.c
+++ b/
src/mpd.c
@@
-134,9
+134,9
@@
void *update_mpd(void)
TEXT_BUFFER_SIZE - 1);
}
if (status->state == MPD_STATUS_STATE_STOP) {
+ clear_mpd_stats(current_info);
strncpy(current_info->mpd.status, "Stopped",
TEXT_BUFFER_SIZE - 1);
- clear_mpd_stats(current_info);
}
if (status->state == MPD_STATUS_STATE_PAUSE) {
strncpy(current_info->mpd.status, "Paused",