Avoid a double const declaration

This commit is contained in:
Pierre Pronchery 2014-06-30 01:24:12 +02:00
parent 456b79033f
commit ef5d3ac225

View File

@ -1446,7 +1446,7 @@ static char const * _panel_get_applets(Panel * panel, PanelPosition position)
/* panel_get_section */ /* panel_get_section */
static char const * _panel_get_section(Panel * panel, PanelPosition position) static char const * _panel_get_section(Panel * panel, PanelPosition position)
{ {
const char const * sections[PANEL_POSITION_COUNT] = { char const * sections[PANEL_POSITION_COUNT] = {
"bottom", "top", "left", "right" }; "bottom", "top", "left", "right" };
return sections[position]; return sections[position];