Skip to content

Commit

Permalink
fix path tag parsing ig
Browse files Browse the repository at this point in the history
again
  • Loading branch information
odrling committed Sep 3, 2024
1 parent 1ae8a5e commit 8e8bafb
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' && line[read_head+2] <= '9' && line[read_head+2] >= 0) {
if (line[read_head + 1] == 'p' && line[read_head+2] <= '9' && line[read_head+2] >= '0') {
// \p0, disables \pn is valid and enables drawing mode
drawing = line[read_head + 2] != '0';
}
Expand Down

0 comments on commit 8e8bafb

Please sign in to comment.