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.

skin_engine: Fix a obscure parser bug

Tag params where a [] group is followed (but not immediatly) by
a * will not parse correctly. e.g [si]iii|s* will attempt to find
an 'i' after the second s instead of looping s's

Change-Id: I3982f726b6539818f8332334b263b673259f98ef

+2 -2
+2 -2
lib/skin_parser/skin_parser.c
··· 617 617 /* Checking for comments */ 618 618 if(*cursor == COMMENTSYM) 619 619 skip_comment(&cursor); 620 - 620 + 621 621 if (*tag_args == '[') 622 622 { 623 623 /* we need to guess which type of param it is. ··· 782 782 { 783 783 if (i+1 == num_args) 784 784 tag_args += 2; 785 - else if (open_square_bracket) 785 + else if (open_square_bracket && *tag_args == ']') 786 786 { 787 787 tag_args = open_square_bracket; 788 788 open_square_bracket = NULL;