Fix search of driver on removable media
authorHervé Poussineau <hpoussin@reactos.org>
Sat, 27 May 2006 13:03:04 +0000 (13:03 +0000)
committerHervé Poussineau <hpoussin@reactos.org>
Sat, 27 May 2006 13:03:04 +0000 (13:03 +0000)
svn path=/trunk/; revision=22074

reactos/dll/win32/newdev/newdev.c

index 7019c5d..afb7c3c 100644 (file)
@@ -309,7 +309,6 @@ SearchDriver(
        return TRUE;
 }
 
-
 static BOOL
 IsDots(IN LPCTSTR str)
 {
@@ -373,7 +372,10 @@ SearchDriverRecursive(
                        _tcscpy(FullPath, DirPath);
                        _tcscat(FullPath, FileName);
                        if (SearchDriverRecursive(DevInstData, FullPath))
+                       {
+                               retval = TRUE;
                                break;
+                       }
                }
                else
                {