1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-11-18 02:55:12 +00:00

oops; don't clear mpd stuff after setting status

git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@968 7f574dfc-610e-0410-a909-a81674777703
This commit is contained in:
Brenden Matthews 2007-10-02 23:51:49 +00:00
parent 3d72ae4b90
commit da182541fb

View File

@ -134,9 +134,9 @@ void *update_mpd(void)
TEXT_BUFFER_SIZE - 1); TEXT_BUFFER_SIZE - 1);
} }
if (status->state == MPD_STATUS_STATE_STOP) { if (status->state == MPD_STATUS_STATE_STOP) {
clear_mpd_stats(current_info);
strncpy(current_info->mpd.status, "Stopped", strncpy(current_info->mpd.status, "Stopped",
TEXT_BUFFER_SIZE - 1); TEXT_BUFFER_SIZE - 1);
clear_mpd_stats(current_info);
} }
if (status->state == MPD_STATUS_STATE_PAUSE) { if (status->state == MPD_STATUS_STATE_PAUSE) {
strncpy(current_info->mpd.status, "Paused", strncpy(current_info->mpd.status, "Paused",