Skip to content

Commit

Permalink
More Windows fixes.
Browse files Browse the repository at this point in the history
I fail at cut-and-paste.

--HG--
branch : trunk
  • Loading branch information
icculus committed Apr 30, 2008
1 parent 026d039 commit 284bfef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions finderrors.c
Expand Up @@ -100,14 +100,14 @@ static int do_dir(const char *dname, const char *profile)
#ifdef _MSC_VER
WIN32_FIND_DATA dent;
HANDLE dirp = INVALID_HANDLE_VALUE;
FindFirstFileA(wSearchPath, &entw);
FindFirstFileA(dname, &dent);
if (dirp != INVALID_HANDLE_VALUE)
{
do
{
if (!do_file(profile, dname, dent.cFileName, &total))
break;
} while (pFindNextFileA(dirp, &dent) != 0);
} while (FindNextFileA(dirp, &dent) != 0);
CloseHandle(dirp);
} // if
#else
Expand Down

0 comments on commit 284bfef

Please sign in to comment.