From 4cd701c94150ed57b8492490dfea983fd9792f73 Mon Sep 17 00:00:00 2001 From: Lars-Dominik Braun Date: Fri, 20 Jun 2014 22:25:56 +0200 Subject: act_debug’s scope is DC_SONG MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes segfault reported in #461. --- src/ui_dispatch.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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", -- cgit v1.2.3