From: Max Kellermann Date: Sun, 21 Sep 2008 11:50:35 +0000 (+0200) Subject: mpdclient: don't call screen_status_message() X-Git-Tag: v0.12_alpha1~212 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=6fd2ed46f47f3d7b89343bb728b01cb347ca875f;p=ncmpc.git mpdclient: don't call screen_status_message() The caller should decide how to display error messages. --- 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);