changeset 10511:dc98cee9a50f

10l fix by Bjrn Sandell <biorn@dce.chalmers.se>
author alex
date Sun, 03 Aug 2003 17:06:18 +0000
parents 73b3e4336cd4
children e488c51b5a3a
files libmpdvdkit2/dvd_reader.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdvdkit2/dvd_reader.c	Sun Aug 03 12:09:58 2003 +0000
+++ b/libmpdvdkit2/dvd_reader.c	Sun Aug 03 17:06:18 2003 +0000
@@ -243,7 +243,7 @@
     char *new_path;
 
     /* If it doesn't start with "/dev/" or does start with "/dev/r" exit */ 
-    if( !strncmp( path, "/dev/",  5 ) || strncmp( path, "/dev/r", 6 ) ) 
+    if( strncmp( path, "/dev/",  5 ) || !strncmp( path, "/dev/r", 6 ) ) 
       return (char *) strdup( path );
 
     /* Replace "/dev/" with "/dev/r" */