dvd-sector-copy.c: Use the correct character to match comments.
authorMark Wooding <mdw@distorted.org.uk>
Sat, 19 Feb 2022 15:23:04 +0000 (15:23 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Sat, 19 Feb 2022 15:23:04 +0000 (15:23 +0000)
Oops.

dvd-sector-copy.c

index 86540e0..f70563c 100644 (file)
@@ -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: