summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLars-Dominik Braun <lars@6xq.net>2014-06-20 22:25:56 +0200
committerLars-Dominik Braun <lars@6xq.net>2014-06-20 22:25:56 +0200
commit4cd701c94150ed57b8492490dfea983fd9792f73 (patch)
treecd630faee02046869a8f20ebb14982cb57638691 /src
parent0117308ab5509a5c31b7778f9551f7335c553f77 (diff)
downloadpianobar-4cd701c94150ed57b8492490dfea983fd9792f73.tar.gz
pianobar-4cd701c94150ed57b8492490dfea983fd9792f73.tar.bz2
pianobar-4cd701c94150ed57b8492490dfea983fd9792f73.zip
act_debug’s scope is DC_SONG
Fixes segfault reported in #461.
Diffstat (limited to 'src')
-rw-r--r--src/ui_dispatch.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui_dispatch.h b/src/ui_dispatch.h
index 51e5417..df64997 100644
--- a/src/ui_dispatch.h
+++ b/src/ui_dispatch.h
@@ -84,7 +84,7 @@ static const BarUiDispatchAction_t dispatchActions[BAR_KS_COUNT] = {
"upcoming songs", "act_upcoming"},
{'x', BAR_DC_STATION, BarUiActSelectQuickMix, "select quickmix stations",
"act_stationselectquickmix"},
- {'$', BAR_DC_GLOBAL, BarUiActDebug, NULL, "act_debug"},
+ {'$', BAR_DC_SONG, BarUiActDebug, NULL, "act_debug"},
{'b', BAR_DC_SONG, BarUiActBookmark, "bookmark song/artist",
"act_bookmark"},
{'(', BAR_DC_GLOBAL, BarUiActVolDown, "decrease volume",