From: Mark Wooding Date: Sat, 19 Feb 2022 15:23:04 +0000 (+0000) Subject: dvd-sector-copy.c: Use the correct character to match comments. X-Git-Url: https://git.distorted.org.uk/~mdw/dvdrip/commitdiff_plain/794f3f9f1cab683c177956180fc9bffbcb5a6745?hp=20cefd22a40dfd20c38070bd882bc89ac6043b26 dvd-sector-copy.c: Use the correct character to match comments. Oops. --- diff --git a/dvd-sector-copy.c b/dvd-sector-copy.c index 86540e0..f70563c 100644 --- a/dvd-sector-copy.c +++ b/dvd-sector-copy.c @@ -934,7 +934,7 @@ static int parse_range(const char *p, unsigned f, { rc = -1; goto end; } if (!(f&PRF_HYPHEN)) while (ISSPACE(*p)) p++; - if (*p && ((f&PRF_HYPHEN) || *p != '=')) { rc = -1; goto end; } + if (*p && ((f&PRF_HYPHEN) || *p != '#')) { rc = -1; goto end; } rc = 0; end: