diff options
author | Kalle Wallin <kaw@linux.se> | 2004-06-06 11:02:26 +0000 |
---|---|---|
committer | Kalle Wallin <kaw@linux.se> | 2004-06-06 11:02:26 +0000 |
commit | ddd95cfda00af6e9093b8958af5679cf9b9cc54f (patch) | |
tree | 37b602b9d774e078179b11542d097e99797b1f79 /src/screen.c | |
parent | 156229d9a0dda8ec38daf689462638eca3c25497 (diff) | |
download | mpd-ddd95cfda00af6e9093b8958af5679cf9b9cc54f.tar.gz mpd-ddd95cfda00af6e9093b8958af5679cf9b9cc54f.tar.xz mpd-ddd95cfda00af6e9093b8958af5679cf9b9cc54f.zip |
i18n - ncmpc is now bilingual (sv)
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1349 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r-- | src/screen.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/screen.c b/src/screen.c index 94b3dc860..4eac178b7 100644 --- a/src/screen.c +++ b/src/screen.c @@ -709,7 +709,11 @@ screen_cmd(mpd_client_t *c, command_t cmd) switch(cmd) { case CMD_PLAY: - mpd_sendPlayCommand(c->connection, play_get_selected()); + if( screen->mode == SCREEN_PLAY_WINDOW ) + n = play_get_selected(); + else + n = -1; + mpd_sendPlayCommand(c->connection, n); mpd_finishCommand(c->connection); break; case CMD_PAUSE: |