fixed compile for linux
authorAndrey Morozov <no@email>
Tue, 4 Oct 2011 21:31:52 +0000 (21:31 +0000)
committerAndrey Morozov <no@email>
Tue, 4 Oct 2011 21:31:52 +0000 (21:31 +0000)
modules/contrib/src/inputoutput.cpp

index 640180d..75c975b 100644 (file)
@@ -46,8 +46,8 @@ namespace cv
                #else\r
                        DIR *dp;\r
                        struct dirent *dirp;\r
-                       if((dp  = opendir(directoryName.c_str())) == NULL) \r
-                       {                               \r
+                       if((dp  = opendir(path.c_str())) == NULL) \r
+                       {\r
                                return list;\r
                        }\r
 \r
@@ -129,4 +129,4 @@ namespace cv
                return list;\r
        }\r
 \r
-}
\ No newline at end of file
+}\r