diff options
author | Lars-Dominik Braun <PromyLOPh@gmail.com> | 2008-07-18 12:19:08 +0200 |
---|---|---|
committer | Lars-Dominik Braun <PromyLOPh@gmail.com> | 2008-07-18 12:19:08 +0200 |
commit | 1d83a30922cadb79e88f65dfe482c6cf05b828b7 (patch) | |
tree | 0b7ce8a0eccdf4f2abcce2abeea1d2961440daa4 /src | |
parent | 4887e066d00e33f706ae07518ed6faf2d2a62fc8 (diff) | |
download | pianobar-windows-1d83a30922cadb79e88f65dfe482c6cf05b828b7.tar.gz pianobar-windows-1d83a30922cadb79e88f65dfe482c6cf05b828b7.tar.bz2 pianobar-windows-1d83a30922cadb79e88f65dfe482c6cf05b828b7.zip |
Fix segfault when selecting quickmix stations
Diffstat (limited to 'src')
-rw-r--r-- | src/main.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -645,6 +645,10 @@ int main (int argc, char **argv) { break; case 'x': + if (curStation == NULL) { + BarUiMsg ("No station selected.\n"); + break; + } if (curStation->isQuickMix) { PianoStation_t *selStation; while ((selStation = |