Rockbox open source high quality audio player as a Music Player Daemon
mpris rockbox mpd libadwaita audio rust zig deno
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

Fix red introduced in 41d5ca3c48

Later GCC versions are apparently more permissive than older versions
when it comes to variable declarations not part of a block (ie {} that
immediately follows a case statement.

This resulted in every non-simulator device target failing to build,
along with sim build on older compilers. I should have caught this in
the review; mea culpa.

Change-Id: Id32e085e34601cca7be273ed45711a4b8ee182a0

+2 -1
+2 -1
apps/gui/skin_engine/skin_tokens.c
··· 1165 1165 goto gtv_ret_numeric_tag_info; 1166 1166 1167 1167 case SKIN_TOKEN_PLAYLIST_PERCENT: 1168 + { 1168 1169 int playlist_amt = playlist_amount(); 1169 1170 int current_pos = playlist_get_display_index() + offset; 1170 1171 int percentage = current_pos * 100 / playlist_amt; ··· 1181 1182 itoa_buf(buf, buf_size, percentage); 1182 1183 numeric_buf = buf; 1183 1184 goto gtv_ret_numeric_tag_info; 1184 - 1185 + } 1185 1186 case SKIN_TOKEN_PLAYLIST_SHUFFLE: 1186 1187 if ( global_settings.playlist_shuffle ) 1187 1188 return "s";