diff --git a/source/theme.c b/source/theme.c index 04dba19b..799ba8b2 100644 --- a/source/theme.c +++ b/source/theme.c @@ -94,7 +94,7 @@ static void rofi_theme_print_distance ( Distance d ) } } /** Textual representation of Window Location */ -const char const * WindowLocationStr[9] = { +const char * const WindowLocationStr[9] = { "center", "northwest", "north", diff --git a/source/view.c b/source/view.c index 8bf0c149..752cf786 100644 --- a/source/view.c +++ b/source/view.c @@ -587,7 +587,7 @@ static void filter_elements ( thread_state *t, G_GNUC_UNUSED gpointer user_data } } } -static void rofi_view_setup_fake_transparency ( const char const *fake_background ) +static void rofi_view_setup_fake_transparency ( const char* const fake_background ) { if ( CacheState.fake_bg == NULL ) { cairo_surface_t *s = NULL;