summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars-Dominik Braun <lars@6xq.net>2013-03-20 13:40:54 +0100
committerLars-Dominik Braun <lars@6xq.net>2013-03-20 13:40:54 +0100
commitb849ea7ed9c86ee48a90ffea4991f8f8500427e8 (patch)
treedaf68e111ffd210080cec8c7187a68a330417d8f
parent5e17cd1109f9705925742254fcc2be083603be39 (diff)
downloadpianobar-windows-b849ea7ed9c86ee48a90ffea4991f8f8500427e8.tar.gz
pianobar-windows-b849ea7ed9c86ee48a90ffea4991f8f8500427e8.tar.bz2
pianobar-windows-b849ea7ed9c86ee48a90ffea4991f8f8500427e8.zip
Fix station name when deleting a station
-rw-r--r--src/ui_act.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui_act.c b/src/ui_act.c
index 33d9edb..9af34bf 100644
--- a/src/ui_act.c
+++ b/src/ui_act.c
@@ -226,7 +226,7 @@ BarUiActCallback(BarUiActDeleteStation) {
assert (selStation != NULL);
BarUiMsg (&app->settings, MSG_QUESTION, "Really delete \"%s\"? [yN] ",
- app->curStation->name);
+ selStation->name);
if (BarReadlineYesNo (false, &app->input)) {
BarUiMsg (&app->settings, MSG_INFO, "Deleting station... ");
if (BarUiActDefaultPianoCall (PIANO_REQUEST_DELETE_STATION,