[Project64] Fix up some brackets in PluginList.cpp

This commit is contained in:
zilmar 2016-01-17 17:00:30 +11:00
parent 99e6df4612
commit 4050e765e8
1 changed files with 4 additions and 2 deletions

View File

@ -54,7 +54,8 @@ void CPluginList::AddPluginFromDir(CPath Dir)
Dir.SetNameExtension("*.*"); Dir.SetNameExtension("*.*");
if (Dir.FindFirst(_A_SUBDIR)) if (Dir.FindFirst(_A_SUBDIR))
{ {
do { do
{
AddPluginFromDir(Dir); AddPluginFromDir(Dir);
} while (Dir.FindNext()); } while (Dir.FindNext());
Dir.UpDirectory(); Dir.UpDirectory();
@ -64,7 +65,8 @@ void CPluginList::AddPluginFromDir(CPath Dir)
if (Dir.FindFirst()) if (Dir.FindFirst())
{ {
HMODULE hLib = NULL; HMODULE hLib = NULL;
do { do
{
if (hLib) if (hLib)
{ {
FreeLibrary(hLib); FreeLibrary(hLib);