mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 21:42:57 +00:00
Fix search of driver on removable media
svn path=/trunk/; revision=22074
This commit is contained in:
parent
979f267d03
commit
2708096c09
1 changed files with 3 additions and 1 deletions
|
@ -309,7 +309,6 @@ SearchDriver(
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
static BOOL
|
static BOOL
|
||||||
IsDots(IN LPCTSTR str)
|
IsDots(IN LPCTSTR str)
|
||||||
{
|
{
|
||||||
|
@ -373,7 +372,10 @@ SearchDriverRecursive(
|
||||||
_tcscpy(FullPath, DirPath);
|
_tcscpy(FullPath, DirPath);
|
||||||
_tcscat(FullPath, FileName);
|
_tcscat(FullPath, FileName);
|
||||||
if (SearchDriverRecursive(DevInstData, FullPath))
|
if (SearchDriverRecursive(DevInstData, FullPath))
|
||||||
|
{
|
||||||
|
retval = TRUE;
|
||||||
break;
|
break;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue