diff options
author | Max Kellermann <max@duempel.org> | 2008-09-21 13:50:35 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-09-21 13:50:35 +0200 |
commit | 6fd2ed46f47f3d7b89343bb728b01cb347ca875f (patch) | |
tree | 88303e305ebc3d35c8d474443ec211fbd1498d0a /src/mpdclient.c | |
parent | 7f0340e99ab01219199af30b7393ca0d61ad1213 (diff) | |
download | mpd-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 '')
-rw-r--r-- | src/mpdclient.c | 2 |
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); |