aboutsummaryrefslogtreecommitdiffstats
path: root/src/mpdclient.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-09-21 13:50:35 +0200
committerMax Kellermann <max@duempel.org>2008-09-21 13:50:35 +0200
commit6fd2ed46f47f3d7b89343bb728b01cb347ca875f (patch)
tree88303e305ebc3d35c8d474443ec211fbd1498d0a /src/mpdclient.c
parent7f0340e99ab01219199af30b7393ca0d61ad1213 (diff)
downloadmpd-6fd2ed46f47f3d7b89343bb728b01cb347ca875f.tar.gz
mpd-6fd2ed46f47f3d7b89343bb728b01cb347ca875f.tar.xz
mpd-6fd2ed46f47f3d7b89343bb728b01cb347ca875f.zip
mpdclient: don't call screen_status_message()
The caller should decide how to display error messages.
Diffstat (limited to 'src/mpdclient.c')
-rw-r--r--src/mpdclient.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/mpdclient.c b/src/mpdclient.c
index 6d9d72b9c..5699e0760 100644
--- a/src/mpdclient.c
+++ b/src/mpdclient.c
@@ -311,7 +311,6 @@ mpdclient_cmd_crop(mpdclient_t *c)
if (length <= 0) {
mpd_freeStatus(status);
- screen_status_message("You have to have a playlist longer than 1 song in length to crop");
} else if (status->state == 3 || status->state == 2) {
/* If playing or paused */
@@ -328,7 +327,6 @@ mpdclient_cmd_crop(mpdclient_t *c)
mpd_freeStatus(status);
} else {
mpd_freeStatus(status);
- screen_status_message("You need to be playing to crop the playlist\n");
}
return mpdclient_finish_command(c);