Skip to content
Permalink
Browse files
More Windows fixes.
I fail at cut-and-paste.

--HG--
branch : trunk
  • Loading branch information
icculus committed Apr 30, 2008
1 parent 026d039 commit 284bfef82a151ff6f8078545f9652032680cffdb
Showing with 2 additions and 2 deletions.
  1. +2 −2 finderrors.c
@@ -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

0 comments on commit 284bfef

Please sign in to comment.