From 6fd2ed46f47f3d7b89343bb728b01cb347ca875f Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sun, 21 Sep 2008 13:50:35 +0200 Subject: [PATCH] mpdclient: don't call screen_status_message() The caller should decide how to display error messages. --- src/mpdclient.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/mpdclient.c b/src/mpdclient.c index 6d9d72b..5699e07 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); -- 2.30.2