Skip to content

Commit

Permalink
fix lyrics with \pos tags
Browse files Browse the repository at this point in the history
whoops
  • Loading branch information
odrling committed Aug 12, 2024
1 parent fe68c2b commit a3cdad8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libdakara_check.c
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ void dakara_check_subtitle_events(ASS_Track *track, dakara_check_sub_results *re
tags = false;
break;
case '\\':
if (line[read_head + 1] == 'p') {
if (line[read_head + 1] == 'p' && line[read_head] <= '9' && line[read_head] >= 0) {
// \p0, disables \pn is valid and enables drawing mode
drawing = line[read_head + 2] != '0';
}
Expand Down

0 comments on commit a3cdad8

Please sign in to comment.