Update SettingsPage-Plugin.cpp
Fix spacing, title case, capitalization, and add newline
This commit is contained in:
parent
bb6c21918c
commit
5d2d412c45
|
@ -9,7 +9,7 @@ COptionPluginPage::COptionPluginPage(HWND hParent, const RECT & rcDispay)
|
|||
return;
|
||||
}
|
||||
|
||||
//Set the text for all gui Items
|
||||
// Set the text for all GUI items
|
||||
SetDlgItemText(RSP_ABOUT, wGS(PLUG_ABOUT).c_str());
|
||||
SetDlgItemText(GFX_ABOUT, wGS(PLUG_ABOUT).c_str());
|
||||
SetDlgItemText(AUDIO_ABOUT, wGS(PLUG_ABOUT).c_str());
|
||||
|
@ -98,7 +98,7 @@ void COptionPluginPage::ShowAboutButton(int id)
|
|||
return;
|
||||
}
|
||||
|
||||
//Load the plugin
|
||||
// Load the plugin
|
||||
UINT LastErrorMode = SetErrorMode(SEM_FAILCRITICALERRORS);
|
||||
HMODULE hLib = LoadLibrary(stdstr((const char *)(Plugin->FullPath)).ToUTF16().c_str());
|
||||
SetErrorMode(LastErrorMode);
|
||||
|
@ -107,11 +107,11 @@ void COptionPluginPage::ShowAboutButton(int id)
|
|||
return;
|
||||
}
|
||||
|
||||
//Get DLL about
|
||||
// Get DLL about
|
||||
void(CALL *DllAbout) (HWND hWnd);
|
||||
DllAbout = (void(CALL *)(HWND))GetProcAddress(hLib, "DllAbout");
|
||||
|
||||
//call the function from the dll
|
||||
// Call the function from the DLL
|
||||
DllAbout(m_hWnd);
|
||||
|
||||
FreeLibrary(hLib);
|
||||
|
@ -319,4 +319,4 @@ void COptionPluginPage::HleAudioChanged(UINT /*Code*/, int id, HWND /*ctl*/)
|
|||
SendMessage(GetParent(), PSM_CHANGED, (WPARAM)m_hWnd, 0);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue